Changeset e2abfd326f in tspsg for src/version.h


Ignore:
Timestamp:
Mar 12, 2010, 8:28:42 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
394216e468
Parents:
f19df0a3e5
Message:

+ Translatable About dialog.

  • Improved installation rules in .pro file.
  • Disabled SVG and JPEG support. They aren't needed at this point.
  • Fixed a bug when labels were hardly visible under Windows Vista/7 whith translucency on and a dark background behind the application.
  • Fixed a bug when Main Window area was blank if the application was compiled using Qt < 4.6.0.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/version.h

    rf19df0a3e5 re2abfd326f  
    5858        #define BUILD_VERSION_MINOR 0
    5959#endif // BUILD_VERSION_MINOR
    60 /*!
    61  * \brief TSPSG release number
    62  *
    63  *  Release number meanings:
    64  *    - 1  --  3: <b>alpha</b> 1 to 3
    65  *    - 4  --  7: <b>beta</b> 1 to 4
    66  *    - 8  -- 10: <b>rc</b> 1 to 3
    67  *    - 11 --  x: <b>release</b> 1 to x-10
    68  */
    6960#ifndef BUILD_RELEASE
     61        //! TSPSG release number
    7062        #define BUILD_RELEASE 0
    7163#endif // BUILD_RELEASE
    7264
    73 /*!
    74  * \brief Current TSPSG build number
    75  *
    76  *  This will only change on releases and will be the same as revision number.
    77  */
    7865#ifndef BUILD_NUMBER
     66        //! Current TSPSG build number
    7967        #define BUILD_NUMBER 0
    8068#endif // BUILD_NUMBER
     
    8371 * \def BUILD_STATUS
    8472 * \brief TSPSG build status
    85  *
    86  * Determined based on BUILD_NUMBER and BUILD_RELEASE.
    8773 */
    88 #ifndef TSPSG_RELEASE_BUILD
     74#if !defined(TSPSG_RELEASE_BUILD)
    8975        #define BUILD_STATUS (dev build)
    90 #elif BUILD_RELEASE < 4
    91         #define BUILD_STATUS (alpha)
    92 #elif BUILD_RELEASE < 8
    93         #define BUILD_STATUS (beta)
    94 #elif BUILD_RELEASE < 11
    95         #define BUILD_STATUS (rc)
     76#elif !defined(BUILD_STATUS)
     77        #define BUILD_STATUS (build BUILD_NUMBER)
    9678#endif // TSPSG_RELEASE_BUILD
    9779
     
    10183#define QUOTE(x) QUOTE_X(x)
    10284
    103 /*!
    104  * \def BUILD_VERSION
    105  * \brief Full version of TSPSG in the form: \c major.minor.release.build [\c status].
    106  */
    107 #ifndef BUILD_STATUS
    108         #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE.BUILD_NUMBER)
    109 #else
    110         #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE.BUILD_NUMBER BUILD_STATUS)
    111 #endif
     85//! Full version of TSPSG in the form: \c major.minor.release.build \c status.
     86#define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS)
    11287
    11388#endif // VERSION_H
Note: See TracChangeset for help on using the changeset viewer.