diff --git a/QGCCommon.pri b/QGCCommon.pri index 975040af32d39bb2c7ce33218eaf675fe48ee825..f67098d4b0e1127e79b77333c65f0abf69f3a77c 100644 --- a/QGCCommon.pri +++ b/QGCCommon.pri @@ -73,6 +73,7 @@ MobileBuild { exists ($$PWD/.git) { GIT_DESCRIBE = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags) + message(QGroundControl version $${GIT_DESCRIBE}) } else { GIT_DESCRIBE = None } diff --git a/qgroundcontrol.pro b/qgroundcontrol.pro index ba89c959fc476b18d30a67fa0320e404e4391b5e..6928aadf96b2ef13c0e8365a3b6c38315f2aa07e 100644 --- a/qgroundcontrol.pro +++ b/qgroundcontrol.pro @@ -30,6 +30,3 @@ message(Qt version $$[QT_VERSION]) error("Unsupported Qt version, 5.4+ is required") } -message(QGroundControl version $${GIT_DESCRIBE}) -git_ver.commands = $$QGC_GIT_VER -QMAKE_EXTRA_TARGETS += git_ver