QT += core gui network greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TEMPLATE = app CONFIG += c++17 SUBDIRS += ../BeltTearingConfig/BeltTearingConfig.pro \ ../VrNet/VrTcpClient.pro # Include paths INCLUDEPATH += $$PWD/Presenter/Inc INCLUDEPATH += ../BeltTearingConfig/Inc INCLUDEPATH += ../VrNets/tcpClient/Inc INCLUDEPATH += ../VrUtils/Inc # Link libraries win32:CONFIG(debug, debug|release) { LIBS += -L../BeltTearingConfig/debug -lBeltTearingConfig LIBS += -L../VrNets/debug -lVrTcpClient LIBS += -L../VrUtils/debug -lVrUtils } else:win32:CONFIG(release, debug|release) { LIBS += -L../BeltTearingConfig/release -lBeltTearingConfig LIBS += -L../VrNets/release -lVrTcpClient LIBS += -L../VrUtils/release -lVrUtils }else:unix:!macx { LIBS += -L../VrUtils -lVrUtils LIBS += -L../BeltTearingConfig -lBeltTearingConfig LIBS += -L../VrNets -lVrTcpClient } # 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 += \ main.cpp \ mainwindow.cpp \ models/ImageInfoModel.cpp \ widgets/DeviceStatusWidget.cpp \ widgets/ImageGridWidget.cpp \ widgets/ImageGridWithTableWidget.cpp \ widgets/ImageTileWidget.cpp \ Presenter/Src/PathManager.cpp \ Presenter/Src/BeltTearingPresenter.cpp HEADERS += \ IStatusUpdate.h \ mainwindow.h \ models/ImageInfoModel.h \ widgets/ClickableFrame.h \ widgets/DeviceStatusWidget.h \ widgets/ImageGridWidget.h \ widgets/ImageGridWithTableWidget.h \ widgets/ImageTileWidget.h \ Presenter/Inc/PathManager.h \ Presenter/Inc/BeltTearingPresenter.h FORMS += \ mainwindow.ui RESOURCES += \ 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 RESOURCES += \ resources.qrc