use APPVERSION define

...and display version in about dialog
This commit is contained in:
Peter Eszlari
2019-12-06 06:45:08 +01:00
parent c32a1c8be2
commit 052ae7325a
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ int main(int argc, char *argv[]) {
QCoreApplication::setOrganizationDomain("olivevideoeditor.org");
QCoreApplication::setApplicationName("Olive");
QString app_version = "0.2.0";
QString app_version = APPVERSION;
#ifdef GITHASH
// Anything after the hyphen is considered "unimportant" information. Text BEFORE the hyphen is used in version
// checking project files and config files