Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

qmlextensionplugins.pro Example File

qmlextensionplugins/qmlextensionplugins.pro
TEMPLATE = lib
CONFIG += plugin
QT += qml

DESTDIR = imports/TimeExample
TARGET  = qmlqtimeexampleplugin

SOURCES += plugin.cpp

pluginfiles.files += \
    imports/TimeExample/qmldir \
    imports/TimeExample/center.png \
    imports/TimeExample/clock.png \
    imports/TimeExample/Clock.qml \
    imports/TimeExample/hour.png \
    imports/TimeExample/minute.png

qml.files = plugins.qml
qml.path += $$[QT_INSTALL_EXAMPLES]/qml/qmlextensionplugins
target.path += $$[QT_INSTALL_EXAMPLES]/qml/qmlextensionplugins/imports/TimeExample
pluginfiles.path += $$[QT_INSTALL_EXAMPLES]/qml/qmlextensionplugins/imports/TimeExample

INSTALLS += target qml pluginfiles

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