Index: denali.pro =================================================================== diff -u -rc8738a653871153a32d0f960ffbb1f0dded6673b -r9a3ee027dbc33f39ee7df2a9dc5a7897c6b1854d --- denali.pro (.../denali.pro) (revision c8738a653871153a32d0f960ffbb1f0dded6673b) +++ denali.pro (.../denali.pro) (revision 9a3ee027dbc33f39ee7df2a9dc5a7897c6b1854d) @@ -1,68 +1,74 @@ -QT += quick -CONFIG += c++14 -Wall - -# The following define makes your compiler emit warnings if you use -# any Qt feature that has been marked deprecated (the exact warnings -# depend on your compiler). Refer to the documentation for the -# deprecated API to know how to port your code away from it. -DEFINES += QT_DEPRECATED_WARNINGS - -# You can also make your code fail to compile if it uses deprecated APIs. -# In order to do so, uncomment the following line. -# You can also select to disable deprecated APIs only up to a certain version of Qt. -#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 - -INCLUDEPATH += \ - sources \ - sources/storage \ - sources/gui - -HEADERS += \ - sources/applicationcontroller.h \ - sources/applicationpost.h \ - sources/canbus/canbus.h \ - sources/configuration/display.h \ - sources/configuration/sound.h \ - sources/gui/guiactions.h \ - sources/gui/guiview.h \ - sources/gui/guicontroller.h \ - sources/maintimer.h \ - sources/storage/filehandler.h \ - sources/storage/logger.h \ - sources/storage/settings.h - -SOURCES += \ - main.cpp \ - sources/applicationcontroller.cpp \ - sources/applicationpost.cpp \ - sources/canbus/canbus.cpp \ - sources/configuration/display.cpp \ - sources/configuration/sound.cpp \ - sources/gui/guiactions.cpp \ - sources/gui/guiview.cpp \ - sources/gui/guicontroller.cpp \ - sources/maintimer.cpp \ - sources/storage/filehandler.cpp \ - sources/storage/logger.cpp \ - sources/storage/settings.cpp - -RESOURCES += \ - denali.qrc - -DEFINES += \ - VER_MAJOR="0" \ - VER_MINOR="4" \ - VER_REVIS="\\\"${buildNumber}\\\"" \ - VER_DEVEL="999" - - -# Additional import path used to resolve QML modules in Qt Creator's code model -QML_IMPORT_PATH = - -# Additional import path used to resolve QML modules just for Qt Quick Designer -QML_DESIGNER_IMPORT_PATH = - -# Default rules for deployment. -qnx: target.path = /tmp/$${TARGET}/bin -else: unix:!android: target.path = /opt/$${TARGET}/bin -!isEmpty(target.path): INSTALLS += target +QT += quick serialbus +CONFIG += c++17 -Wall + +# The following define makes your compiler emit warnings if you use +# any Qt feature that has been marked deprecated (the exact warnings +# depend on your compiler). Refer to the documentation for the +# deprecated API to know how to port your code away from it. +DEFINES += QT_DEPRECATED_WARNINGS + +# You can also make your code fail to compile if it uses deprecated APIs. +# In order to do so, uncomment the following line. +# You can also select to disable deprecated APIs only up to a certain version of Qt. +#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 + +INCLUDEPATH += \ + sources \ + sources/storage \ + sources/gui \ + sources/canbus + +HEADERS += \ + sources/applicationcontroller.h \ + sources/applicationpost.h \ + sources/canbus/caninterface.h \ + sources/canbus/messagehandler.h \ + sources/configuration/display.h \ + sources/configuration/sound.h \ + sources/gui/guiactions.h \ + sources/gui/guiglobals.h \ + sources/gui/guiview.h \ + sources/gui/guicontroller.h \ + sources/main.h \ + sources/maintimer.h \ + sources/storage/filehandler.h \ + sources/storage/logger.h \ + sources/storage/settings.h + +SOURCES += \ + main.cpp \ + sources/applicationcontroller.cpp \ + sources/applicationpost.cpp \ + sources/canbus/caninterface.cpp \ + sources/canbus/messagehandler.cpp \ + sources/configuration/display.cpp \ + sources/configuration/sound.cpp \ + sources/gui/guiactions.cpp \ + sources/gui/guiglobals.cpp \ + sources/gui/guiview.cpp \ + sources/gui/guicontroller.cpp \ + sources/maintimer.cpp \ + sources/storage/filehandler.cpp \ + sources/storage/logger.cpp \ + sources/storage/settings.cpp + +RESOURCES += \ + denali.qrc + +DEFINES += \ + VER_MAJOR="0" \ + VER_MINOR="4" \ + VER_REVIS="\\\"${buildNumber}\\\"" \ + VER_DEVEL="999" + + +# Additional import path used to resolve QML modules in Qt Creator's code model +QML_IMPORT_PATH = + +# Additional import path used to resolve QML modules just for Qt Quick Designer +QML_DESIGNER_IMPORT_PATH = + +# Default rules for deployment. +qnx: target.path = /tmp/$${TARGET}/bin +else: unix:!android: target.path = /opt/$${TARGET}/bin +!isEmpty(target.path): INSTALLS += target