src/main.cc

changeset 566
549c63863544
parent 564
79b23e02dcf1
child 573
74d71c6fdc20
equal deleted inserted replaced
565:e403aad83f60 566:549c63863544
115 return g_versionString; 115 return g_versionString;
116 } 116 }
117 117
118 // ============================================================================= 118 // =============================================================================
119 // ----------------------------------------------------------------------------- 119 // -----------------------------------------------------------------------------
120 QString versionMoniker() 120 QString fullVersionString()
121 { 121 { return "v" + versionString();
122 #if BUILD_ID == BUILD_INTERNAL
123 return "Internal";
124 #elif BUILD_ID == BUILD_ALPHA
125 return "Alpha";
126 #elif BUILD_ID == BUILD_BETA
127 return "Beta";
128 #elif BUILD_ID == BUILD_RC
129 return fmt ("RC %1", RC_NUMBER);
130 #else
131 return "";
132 #endif // BUILD_ID
133 } 122 }
134
135 // =============================================================================
136 // -----------------------------------------------------------------------------
137 QString fullVersionString()
138 { return fmt ("v%1 %2", versionString(), versionMoniker());
139 }

mercurial