- Qt 5.3
- Qt Quick
- Scene Graph - Painted Item
- painteditem.pro Example File
- Qt 5.3.2 Reference Documentation

# 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

    OTHER_FILES += \
        textballoons.qml