GrabBag/App/BeltTearing/BeltTearingApp/BeltTearingApp.pro

108 lines
3.3 KiB
Prolog
Raw Normal View History

QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TEMPLATE = app
CONFIG += c++17
2025-09-10 00:31:27 +08:00
# Add /utf-8 flag only for MSVC builds to enforce UTF-8 encoding
win32-msvc {
QMAKE_CXXFLAGS += /utf-8
}
2025-10-12 16:46:46 +08:00
# For Windows crash dump generation and MessageBox functions (only for MSVC)
win32-msvc {
LIBS += -lDbgHelp -luser32
}
# Include paths
INCLUDEPATH += $$PWD/Presenter/Inc
INCLUDEPATH += ../BeltTearingConfig/Inc
2025-09-14 14:51:38 +08:00
2025-09-18 23:49:32 +08:00
INCLUDEPATH += ../../../VrNets/TCPClient/Inc
2025-09-14 14:51:38 +08:00
INCLUDEPATH += ../../../VrUtils/Inc
INCLUDEPATH += ../../../AppUtils/UICommon/Inc
INCLUDEPATH += ../../../SDK/VzNLSDK/Inc
INCLUDEPATH += ../../../SDK/beltTearing/Inc
# Link libraries
win32:CONFIG(debug, debug|release) {
LIBS += -L../BeltTearingConfig/debug -lBeltTearingConfig
2025-09-14 14:51:38 +08:00
LIBS += -L../../../VrNets/debug -lVrTcpClient
LIBS += -L../../../VrUtils/debug -lVrUtils
LIBS += -L../../../AppUtils/UICommon/debug -lUICommon
} else:win32:CONFIG(release, debug|release) {
LIBS += -L../BeltTearingConfig/release -lBeltTearingConfig
2025-09-14 14:51:38 +08:00
LIBS += -L../../../VrNets/release -lVrTcpClient
LIBS += -L../../../VrUtils/release -lVrUtils
LIBS += -L../../../AppUtils/UICommon/release -lUICommon
}else:unix:!macx {
2025-09-14 14:51:38 +08:00
LIBS += -L../BeltTearingConfig -lBeltTearingConfig
LIBS += -L../../../VrNets -lVrTcpClient
LIBS += -L../../../VrUtils -lVrUtils
LIBS += -L../../../AppUtils/UICommon -lUICommon
}
# 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
# 设置应用程序图标
RC_ICONS = resource/logo.ico
SOURCES += \
2025-09-29 00:56:53 +08:00
dialogalgoarg.cpp \
dialognetconfig.cpp \
main.cpp \
mainwindow.cpp \
models/ImageInfoModel.cpp \
widgets/DeviceStatusWidget.cpp \
widgets/ImageGridWidget.cpp \
widgets/ImageGridWithTableWidget.cpp \
widgets/ImageTileWidget.cpp \
2025-09-10 00:31:27 +08:00
widgets/TearingDataTableWidget.cpp \
Presenter/Src/PathManager.cpp \
Presenter/Src/BeltTearingPresenter.cpp
HEADERS += \
IStatusUpdate.h \
Version.h \
2025-09-29 00:56:53 +08:00
dialogalgoarg.h \
dialognetconfig.h \
mainwindow.h \
models/ImageInfoModel.h \
widgets/ClickableFrame.h \
widgets/DeviceStatusWidget.h \
widgets/ImageGridWidget.h \
widgets/ImageGridWithTableWidget.h \
widgets/ImageTileWidget.h \
2025-09-10 00:31:27 +08:00
widgets/TearingDataTableWidget.h \
Presenter/Inc/PathManager.h \
Presenter/Inc/BeltTearingPresenter.h
FORMS += \
2025-09-29 00:56:53 +08:00
dialogalgoarg.ui \
dialognetconfig.ui \
mainwindow.ui
RESOURCES += \
resources.qrc \
../../../AppUtils/UICommon/common_resources.qrc
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
2025-08-31 21:08:28 +08:00
# Add application manifest for running as administrator
# win32 {
# QMAKE_LFLAGS += /MANIFEST:NO
# manifest.input = $$PWD/BeltTearingApp.exe.manifest
# manifest.output = $$OUT_PWD/$$TARGET.exe.embed.manifest
# QMAKE_POST_LINK += mt.exe -manifest $$manifest.input -outputresource:"$$OUT_PWD/$$TARGET.exe"
# }
RESOURCES += \
resources.qrc \
../../../AppUtils/UICommon/common_resources.qrc