mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Use the build number in code
This commit is contained in:
@ -83,7 +83,14 @@ int main(int argc, char **argv)
|
||||
|
||||
app.setApplicationName("YACReaderLibrary");
|
||||
app.setOrganizationName("YACReader");
|
||||
app.setApplicationVersion(VERSION);
|
||||
|
||||
QString buildNumber = ".0";
|
||||
|
||||
#ifdef BUILD_NUMBER
|
||||
buildNumber = "." + BUILD_NUMBER;
|
||||
#endif
|
||||
|
||||
app.setApplicationVersion(VERSION + buildNumber);
|
||||
|
||||
QTextStream qout(stdout);
|
||||
|
||||
|
Reference in New Issue
Block a user