Update the build script

This commit is contained in:
Kevin Yue
2020-02-16 10:50:38 +08:00
parent 68724e3820
commit bf8a0c6f10
7 changed files with 12 additions and 49 deletions

View File

@@ -1,3 +1,5 @@
TARGET = gpclient
QT += core gui network websockets dbus webenginewidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
@@ -17,7 +19,6 @@ DEFINES += QT_DEPRECATED_WARNINGS
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
cdpcommand.cpp \
cdpcommandmanager.cpp \
@@ -39,6 +40,5 @@ FORMS += \
DBUS_INTERFACES += ../GPService/gpservice.xml
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
target.path = /usr/local/bin
INSTALLS += target