You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PayloadAPP/PayloadAPP.pro

90 lines
2.1 KiB
Prolog

8 months ago
QT += core gui webenginewidgets
QT += network
QT += quickwidgets qml
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17
# CONFIG += console
8 months ago
QMAKE_PROJECT_DEPTH = 0
# You can make your code fail to compile if it uses deprecated APIs.
# 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
#给exe默认管理员权限否则无法调起管理员权限的第三方程序
# QMAKE_LFLAGS += /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\"
#程序版本
VERSION = 1.1.0.5
#程序版本
QMAKE_TARGET_COMPANY = "HTSDFP"
SOURCES += \
global.cpp \
SDFPDlg.cpp \
imageswitch.cpp \
main.cpp \
8 months ago
mainwindow.cpp \
HEADERS += \
SDFPDlg.h \
global.h \
imageswitch.h \
8 months ago
mainwindow.h \
FORMS += \
SDFPDlg.ui \
8 months ago
mainwindow.ui \
TRANSLATIONS += \
PayloadAPP_zh_CN.ts
CONFIG += lrelease
CONFIG += embed_translations
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
mainwindow.qrc \
DISTFILES += \
config.ini \
res/Qss/qss.qss \
style.qss
RC_ICONS = SDFP3.ico
INCLUDEPATH += $$PWD/3rdparty/ffmpeg/include \
$$PWD/Src/VideoGL/ \
$$PWD/Src/Video/ \
$$PWD/3rdparty/QNotify/include \
LIBS += -L$$PWD/3rdparty/ffmpeg/lib \
-lavcodec -lavdevice -lavfilter -lavformat -lavutil -lpostproc \
-lswresample -lswscale
# Windows
win32 {
# LIBS += -luser32
CONFIG(debug, debug|release){
#debug
LIBS += -L$$PWD/3rdparty/QNotify/lib \
-lQNotifyd
}
else:CONFIG(release, debug|release){
#release
LIBS += -L$$PWD/3rdparty/QNotify/lib \
-lQNotify
}
}
include($$PWD/Src/HomePage/HomePage.pri)
include($$PWD/Src/WebPage/WebPage.pri)
include($$PWD/Src/ModelCamera/ModelCamera.pri)
include($$PWD/Src/RescueLoad/RescueLoad.pri)
include($$PWD/Src/GDDC/GDDC.pri)
include($$PWD/Src/Video/Video.pri)
include($$PWD/Src/VideoGL/VideoGL.pri)