Skip to content

Commit

Permalink
Successfully write version string to main window.
Browse files Browse the repository at this point in the history
  • Loading branch information
PMSeitzer committed Sep 12, 2019
1 parent 0ca9024 commit 3db2410
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/maven/maven.pro
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ desktop.files = maven.desktop

#add version information during compilation
VERSION = $$system("git describe --tags --always")
#VERSION=8.0.26
include(gitversion.pri)

#TODO: this call is setting VERSION back to an empty string
#include(gitversion.pri)

DEFINES += MAVEN_VERSION=\\\"$$VERSION\\\"
DEFINES += "PLATFORM=\"$$QMAKE_HOST.os\""

message("Maven Version is:")
message($$VERSION)

TARGET = Maven

RC_FILE = mzroll.rc
Expand Down

0 comments on commit 3db2410

Please sign in to comment.