Add VERSION to be used inside application
This commit is contained in:
parent
61c847102d
commit
027529161d
@ -5,12 +5,14 @@ QT += widgets serialport
|
||||
|
||||
TARGET = ATBUpdateTool
|
||||
|
||||
VERSION=1.0.0
|
||||
|
||||
INCLUDEPATH += plugins
|
||||
|
||||
CONFIG += c++17 console
|
||||
# CONFIG -= app_bundle
|
||||
|
||||
# DEFINES+=LinuxDesktop
|
||||
DEFINES+=APP_VERSION=\\\"$$VERSION\\\"
|
||||
|
||||
QMAKE_CXXFLAGS += -Wno-deprecated-copy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user