imageresponseprovider.pro Example File | Qt Quick 5.9

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

Qt 5.9.9 Reference Documentation

# imageresponseprovider.pro Example File

imageresponseprovider/imageresponseprovider.pro

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

      DESTDIR = ImageResponseProviderCore
      TARGET  = qmlimageresponseproviderplugin

      SOURCES += imageresponseprovider.cpp

      EXAMPLE_FILES = imageresponseprovider-example.qml

      target.path = $$[QT_INSTALL_EXAMPLES]/quick/imageresponseprovider/ImageResponseProviderCore
      qml.files = ImageResponseProviderCore/qmldir
      qml.path = $$[QT_INSTALL_EXAMPLES]/quick/imageresponseprovider/ImageResponseProviderCore
      INSTALLS = target qml

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