1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
QT += qml #![registration] CONFIG += qmltypes QML_IMPORT_NAME = io.qt.examples.backend QML_IMPORT_MAJOR_VERSION = 1 #![registration] HEADERS += \ backend.h SOURCES += \ backend.cpp \ main.cpp RESOURCES += \ main.qml