Qt 5.6 | Qt Quick | Qt Quick Examples - Window and Screen | window.pro Example File

Qt 5.6.2 Reference Documentation

# window.pro Example File

window/window.pro

      TEMPLATE = app

      QT += quick qml
      SOURCES += main.cpp
      RESOURCES += \
          window.qrc \
          ../shared/shared.qrc
      EXAMPLE_FILES = \
          window.qml \
          resources

      target.path = $$[QT_INSTALL_EXAMPLES]/quick/window
      INSTALLS += target

      ICON = resources/icon64.png
      macx: ICON = resources/icon.icns
      win32: RC_FILE = resources/window.rc