imageprovider.pro Example File | Qt Quick 5.12.11

- Qt 5.12
- Qt Quick
- C++ Extensions: Image Provider Example
- imageprovider.pro Example File
- Qt 5.12.11 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!