Qt 5.11 | Qt Quick | Qt Quick Demo - Photo Viewer | photoviewer.pro Example File

Qt 5.11.3 Reference Documentation

# photoviewer.pro Example File

demos/photoviewer/photoviewer.pro

      TEMPLATE = app

      QT += qml quick xmlpatterns

      SOURCES += main.cpp

      lupdate_only{
      SOURCES = *.qml \
                PhotoViewerCore/*.qml \
                PhotoViewerCore/script/*.js
      }

      TRANSLATIONS += i18n/qml_en.ts \
                      i18n/qml_fr.ts \
                      i18n/qml_de.ts

      RESOURCES += qml.qrc

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