painteditem.pro Example File

customitems/painteditem/painteditem.pro
TEMPLATE = lib
CONFIG += plugin
QT += qml quick
TARGET = qmltextballoonplugin
HEADERS += TextBalloonPlugin/plugin.h \
    textballoon.h
SOURCES += textballoon.cpp
RESOURCES += painteditem.qrc
DESTDIR = TextBalloonPlugin
target.path = $$[QT_INSTALL_EXAMPLES]/quick/customitems/painteditem/TextBalloonPlugin
qmldir.files = TextBalloonPlugin/qmldir
qmldir.path = $$[QT_INSTALL_EXAMPLES]/quick/customitems/painteditem/TextBalloonPlugin
INSTALLS += qmldir target
CONFIG += install_ok  # Do not cargo-cult this!
OTHER_FILES += \
    textballoons.qml