flatstyle.pro Example File | Qt Quick Controls 5.12.9

- Qt 5.12
- Qt Quick Controls
- Qt Quick Controls - Flat Style
- flatstyle.pro Example File
- Qt 5.12.9 Reference Documentation

# 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