imageprovider.pro Example File | Qt Quick 5.9

Qt 5.9 | Qt Quick | C++ Extensions: Image Provider Example | imageprovider.pro Example File

Qt 5.9.3 Reference Documentation

# imageprovider.pro Example File

imageprovider/imageprovider.pro

      TEMPLATE = lib
      CONFIG += plugin
      QT += qml quick

      DESTDIR = ImageProviderCore
      TARGET  = qmlimageproviderplugin

      SOURCES += imageprovider.cpp

      EXAMPLE_FILES = imageprovider-example.qml

      target.path = $$[QT_INSTALL_EXAMPLES]/quick/imageprovider/ImageProviderCore
      qml.files = ImageProviderCore/qmldir
      qml.path = $$[QT_INSTALL_EXAMPLES]/quick/imageprovider/ImageProviderCore
      INSTALLS = target qml

      CONFIG += install_ok  # Do not cargo-cult this!