Qt 5.11 | Qt Quick Controls 2 | Qt Quick Controls 2 - Gallery | gallery.pro Example File

Qt 5.11.3 Reference Documentation

# gallery.pro Example File

gallery/gallery.pro

      TEMPLATE = app
      TARGET = gallery
      QT += quick quickcontrols2

      SOURCES += \
          gallery.cpp

      RESOURCES += \
          gallery.qml \
          qtquickcontrols2.conf \
          icons/gallery/index.theme \
          $$files(icons/*.png, true) \
          $$files(images/*.png) \
          $$files(pages/*.qml)

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