Add VERSION to be used inside application

This commit is contained in:
Gerhard Hoffmann 2023-07-06 14:11:28 +02:00
parent 61c847102d
commit 027529161d

View File

@ -5,12 +5,14 @@ QT += widgets serialport
TARGET = ATBUpdateTool TARGET = ATBUpdateTool
VERSION=1.0.0
INCLUDEPATH += plugins INCLUDEPATH += plugins
CONFIG += c++17 console CONFIG += c++17 console
# CONFIG -= app_bundle # CONFIG -= app_bundle
# DEFINES+=LinuxDesktop DEFINES+=APP_VERSION=\\\"$$VERSION\\\"
QMAKE_CXXFLAGS += -Wno-deprecated-copy QMAKE_CXXFLAGS += -Wno-deprecated-copy