Qt 5.11 | Qt Quick Controls 2 | Qt Quick Controls 2 - Flat Style | flatstyle.pro Example File

Qt 5.11.3 Reference Documentation

# flatstyle.pro Example File

flatstyle/flatstyle.pro

      TEMPLATE = app
      TARGET = flatstyle

      QT += quick quickcontrols2 widgets

      SOURCES += main.cpp

      RESOURCES += \
         qtquickcontrols2.conf \
         $$files(*.qml) \
         $$files(imports/Theme/*) \
         $$files(Flat/*.qml)

      # 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