2026-07-11 16:02:57 +08:00

163 lines
6.0 KiB
Prolog

QT += core gui widgets network serialport
CONFIG += c++17
win32 {
CONFIG += console
CONFIG -= windows
}
TARGET = ParkingSpaceGuideApp
TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += UNICODE
DEFINES += _UNICODE
win32-msvc {
QMAKE_CXXFLAGS += /utf-8
}
unix:!macx {
QMAKE_CXXFLAGS += -fPIC
}
INCLUDEPATH += $$PWD/Presenter/Inc
INCLUDEPATH += $$PWD/../ParkingSpaceGuideConfig/Inc
INCLUDEPATH += $$PWD/../../../AppUtils/UICommon/Inc
INCLUDEPATH += $$PWD/../../../AppUtils/AppCommon/Inc
INCLUDEPATH += $$PWD/../../../AppUtils/AppConfig/Inc
INCLUDEPATH += $$PWD/../../../Device/MvsDevice/Inc
INCLUDEPATH += $$PWD/../../../Device/RsLidarDevice/Inc
INCLUDEPATH += $$PWD/../../../Device/LedDisplayDevice/Inc
INCLUDEPATH += $$PWD/../../../Module/AuthModule/Inc
INCLUDEPATH += $$PWD/../../../Module/ModbusTCPClient/Inc
INCLUDEPATH += $$PWD/../../../Module/ShareMem/Inc
INCLUDEPATH += $$PWD/../../../VrNets/UDPClient/Inc
INCLUDEPATH += $$PWD/../../../Utils/VrCommon/Inc
INCLUDEPATH += $$PWD/../../../Utils/VrUtils/Inc
win32 {
POCO_ROOT = $$PWD/../../../SDK/poco/Windows
} else:unix:!macx {
POCO_ROOT = $$PWD/../../../SDK/poco/Linux
contains(QMAKE_CXX, aarch64.*): POCO_ROOT = $$PWD/../../../SDK/poco/Arm/aarch64
}
!isEmpty(POCO_ROOT) {
INCLUDEPATH += $$POCO_ROOT/include
}
win32 {
MVS_ROOT = $$PWD/../../../SDK/Device/MVS/MVS_Win_STD_5.0.0_260417/Development
INCLUDEPATH += $$MVS_ROOT/Includes
MVS_LIBS = -L$$MVS_ROOT/Libraries/win64 -lMvCameraControl
} else:unix:!macx {
MVS_ROOT = $$PWD/../../../SDK/Device/MVS/MVS_STD_V3.0.1_251113/MVS-3.0.1_aarch64_20251113
INCLUDEPATH += $$MVS_ROOT/include
MVS_LIBS = -L$$MVS_ROOT/lib/aarch64 -lMvCameraControl -ldl -lpthread -lrt
}
SOURCES += \
Presenter/Src/ConfigManager.cpp \
Presenter/Src/ParkingSpaceGuidePresenter.cpp \
Presenter/Src/DetectPresenter.cpp \
Presenter/Src/ParkingStatusHttpServer.cpp \
main.cpp \
mainwindow.cpp \
dialogalgoarg.cpp
HEADERS += \
Presenter/Inc/ConfigManager.h \
Presenter/Inc/ParkingSpaceGuidePresenter.h \
Presenter/Inc/DetectPresenter.h \
Presenter/Inc/ParkingStatusHttpServer.h \
mainwindow.h \
dialogalgoarg.h \
Version.h
FORMS += \
mainwindow.ui \
dialogalgoarg.ui
RESOURCES += \
resources.qrc \
../../../AppUtils/UICommon/common_resources.qrc
win32 {
RC_ICONS = resource/logo.ico
}
win32:CONFIG(debug, debug|release) {
LIBS += -L$$POCO_ROOT/lib -lPocoNet -lPocoFoundation
LIBS += -L../ParkingSpaceGuideConfig/debug -lParkingSpaceGuideConfig
LIBS += -L../../../AppUtils/UICommon/debug -lUICommon
LIBS += -L../../../AppUtils/AppCommon/debug -lAppCommon
LIBS += -L../../../AppUtils/AppConfig/debug -lAppConfig
LIBS += -L../../../Device/MvsDevice/debug -lMvsDevice
LIBS += -L../../../Device/RsLidarDevice/debug -lRsLidarDevice
LIBS += -L../../../Device/LedDisplayDevice/debug -lLedDisplayDevice
LIBS += -L../../../Module/ModbusTCPClient/debug -lModbusTCPClient
LIBS += -L../../../Module/AuthModule/debug -lAuthModule
LIBS += -L../../../Module/ShareMem/debug -lShareMem
LIBS += -L../../../Utils/VrUtils/debug -lVrUtils
LIBS += -L../../../Device/VrEyeDevice/debug -lVrEyeDevice
LIBS += -L../../../Module/ModbusTCPServer/debug -lModbusTCPServer
LIBS += -L../../../VrNets/debug -lVrModbus
LIBS += -L../../../VrNets/debug -lVrTcpServer
LIBS += -L../../../VrNets/debug -lVrUDPClient
} else:win32:CONFIG(release, debug|release) {
LIBS += -L$$POCO_ROOT/lib -lPocoNet -lPocoFoundation
LIBS += -L../ParkingSpaceGuideConfig/release -lParkingSpaceGuideConfig
LIBS += -L../../../AppUtils/UICommon/release -lUICommon
LIBS += -L../../../AppUtils/AppCommon/release -lAppCommon
LIBS += -L../../../AppUtils/AppConfig/release -lAppConfig
LIBS += -L../../../Device/MvsDevice/release -lMvsDevice
LIBS += -L../../../Device/RsLidarDevice/release -lRsLidarDevice
LIBS += -L../../../Device/LedDisplayDevice/release -lLedDisplayDevice
LIBS += -L../../../Module/ModbusTCPClient/release -lModbusTCPClient
LIBS += -L../../../Module/AuthModule/release -lAuthModule
LIBS += -L../../../Module/ShareMem/release -lShareMem
LIBS += -L../../../Utils/VrUtils/release -lVrUtils
LIBS += -L../../../Device/VrEyeDevice/release -lVrEyeDevice
LIBS += -L../../../Module/ModbusTCPServer/release -lModbusTCPServer
LIBS += -L../../../VrNets/release -lVrModbus
LIBS += -L../../../VrNets/release -lVrTcpServer
LIBS += -L../../../VrNets/release -lVrUDPClient
} else:unix:!macx {
LIBS += -L$$POCO_ROOT/lib -lPocoNet -lPocoFoundation
LIBS += -L../ParkingSpaceGuideConfig -lParkingSpaceGuideConfig
LIBS += -L../../../AppUtils/UICommon -lUICommon
LIBS += -L../../../AppUtils/AppCommon -lAppCommon
LIBS += -L../../../AppUtils/AppConfig -lAppConfig
LIBS += -L../../../Device/MvsDevice -lMvsDevice
LIBS += -L../../../Device/RsLidarDevice -lRsLidarDevice
LIBS += -L../../../Device/LedDisplayDevice -lLedDisplayDevice
LIBS += -L../../../Module/ModbusTCPClient -lModbusTCPClient
LIBS += -L../../../Module/AuthModule -lAuthModule
LIBS += -L../../../Module/ShareMem -lShareMem
LIBS += -L../../../Utils/VrUtils -lVrUtils
LIBS += -L../../../Device/VrEyeDevice -lVrEyeDevice
LIBS += -L../../../Module/ModbusTCPServer -lModbusTCPServer
LIBS += -L../../../VrNets -lVrModbus
LIBS += -L../../../VrNets -lVrTcpServer
LIBS += -L../../../VrNets -lVrUDPClient
LIBS += -lpthread -lrt
}
!isEmpty(MVS_LIBS) {
LIBS += $$MVS_LIBS
}
win32 {
LIBS += -lws2_32
LIBS += Advapi32.lib
}
unix {
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
DISTFILES += Version.md