1QT += quick 2CONFIG += c++11 3 4# The following define makes your compiler emit warnings if you use 5# any Qt feature that has been marked deprecated (the exact warnings 6# depend on your compiler). Refer to the documentation for the 7# deprecated API to know how to port your code away from it. 8DEFINES += QT_DEPRECATED_WARNINGS 9 10# You can also make your code fail to compile if it uses deprecated APIs. 11# In order to do so, uncomment the following line. 12# You can also select to disable deprecated APIs only up to a certain version of Qt. 13#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 14 15SOURCES += \ 16 main.cpp 17 18RESOURCES += qml.qrc 19 20# Additional import path used to resolve QML modules in Qt Creator's code model 21QML_IMPORT_PATH = 22 23# Additional import path used to resolve QML modules just for Qt Quick Designer 24QML_DESIGNER_IMPORT_PATH = 25 26# Default rules for deployment. 27qnx: target.path = /tmp/$${TARGET}/bin 28else: unix:!android: target.path = /opt/$${TARGET}/bin 29!isEmpty(target.path): INSTALLS += target 30