mirror of
https://github.com/FAUSheppy/speech-server-client-qt
synced 2025-12-09 18:18:31 +01:00
add more information to about
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#-------------------------------------------------
|
||||
|
||||
GIT_STR_VERSION = $$system(git describe)
|
||||
DATE_STR = $$system(date)
|
||||
HOSTNAME_STR = $$system(hostname)
|
||||
|
||||
QT += core gui network
|
||||
|
||||
@@ -19,6 +21,8 @@ TEMPLATE = app
|
||||
# deprecated API in order to know how to port your code away from it.
|
||||
DEFINES += QT_DEPRECATED_WARNINGS
|
||||
DEFINES += "GIT_VERSION=\"\\\"$$GIT_STR_VERSION\\\"\""
|
||||
DEFINES += "BUILD_DATE=\"\\\"$$DATE_STR\\\"\""
|
||||
DEFINES += "BUILD_HOST=\"\\\"$$HOSTNAME_STR\\\"\""
|
||||
|
||||
# You can also make your code fail to compile if you use deprecated APIs.
|
||||
# In order to do so, uncomment the following line.
|
||||
|
||||
Reference in New Issue
Block a user