flatstyle.pro Example File

flatstyle/flatstyle.pro
 TEMPLATE = app
 TARGET = flatstyle

 QT += quick quickcontrols2 widgets

 SOURCES += main.cpp

 RESOURCES += \
     qtquickcontrols2.conf \
     flatstyle.qml \
     MainForm.ui.qml \
     Flat/Button.qml \
     Flat/CheckBox.qml \
     Flat/Switch.qml \
     imports/Theme/Theme.qml \
     imports/Theme/qmldir

 # Additional import path used to resolve QML modules in Qt Creator's code model
 QML_IMPORT_PATH = $$PWD/imports

 target.path = $$[QT_INSTALL_EXAMPLES]/quickcontrols2/flatstyle
 INSTALLS += target