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

Qt 5.7.1 Reference Documentation

# photoviewer.pro Example File

demos/photoviewer/photoviewer.pro

      TEMPLATE = app

      QT += qml quick widgets xmlpatterns

      SOURCES += main.cpp

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

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

      RESOURCES += qml.qrc

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