2015-05-12 17:51:33 +02:00
|
|
|
QT -= gui
|
|
|
|
|
|
2017-01-26 16:29:28 +01:00
|
|
|
CONFIG += c++11 console
|
2015-05-12 17:51:33 +02:00
|
|
|
CONFIG -= app_bundle
|
|
|
|
|
|
2020-06-24 12:24:27 +02:00
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
2016-10-10 16:57:22 +01:00
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
2017-01-26 16:29:28 +01:00
|
|
|
|
2017-03-27 20:46:31 +02:00
|
|
|
SOURCES += \\
|
|
|
|
|
%{CppFileName}
|
2019-07-26 16:46:42 +02:00
|
|
|
@if %{HasTranslation}
|
|
|
|
|
|
|
|
|
|
TRANSLATIONS += \\
|
|
|
|
|
%{TsFileName}
|
2021-01-11 16:50:34 +01:00
|
|
|
CONFIG += lrelease
|
|
|
|
|
CONFIG += embed_translations
|
2019-07-26 16:46:42 +02:00
|
|
|
@endif
|
2018-05-02 16:38:07 +03:00
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|