QT += quick quickcontrols2 serialport # 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 HEADERS += sources/DataController.h SOURCES += \ sources/main.cpp \ sources/DataController.cpp RESOURCES += qml/qml.qrc \ resources/resources.qrc # Additional import path used to resolve QML modules in Qt Creator's code model QML_IMPORT_PATH = qml # Additional import path used to resolve QML modules just for Qt Quick Designer QML_DESIGNER_IMPORT_PATH = # Rules for deployment. linux { QMAKE_POST_LINK += "cqtdeployer -bin $$OUT_PWD/$$TARGET -qmlDir $$PWD/qml force-clear zip deploySystem -extraLibs krb5,k5crypto,keyutils,md4c,udev,double-conversion" QMAKE_POST_LINK += " ; cd $$PWD ; zip -r $$OUT_PWD/DistributionKit/Tksi125Monitor.zip settings.ini" QMAKE_POST_LINK += " ; cp $$OUT_PWD/DistributionKit/Tksi125Monitor.zip $$clean_path($$PWD/../Tksi125MonitorLinux.zip)" }