summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/extending/chapter6-plugins/chapter6-plugins.pro
blob: f4013d5ffaced4551b9834cc92afd73bfbd8a4fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
TEMPLATE = lib
CONFIG += qt plugin
QT += declarative widgets

DESTDIR = lib
OBJECTS_DIR = tmp
MOC_DIR = tmp

HEADERS += piechart.h \
           pieslice.h \
           chartsplugin.h

SOURCES += piechart.cpp \
           pieslice.cpp \
           chartsplugin.cpp

OTHER_FILES += chartsplugin.json

maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)

# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtquick1/declarative/tutorials/extending/chapter6-plugins
sources.files = $$SOURCES $$HEADERS $$OTHER_FILES app.qml chapter6-plugins.pro
sources.path = $$[QT_INSTALL_EXAMPLES]//qtquick1/declarative/tutorials/extending/chapter6-plugins
INSTALLS += target sources