diff options
Diffstat (limited to 'examples/declarative/tutorials/extending/chapter6-plugins/chapter6-plugins.pro')
-rw-r--r-- | examples/declarative/tutorials/extending/chapter6-plugins/chapter6-plugins.pro | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/examples/declarative/tutorials/extending/chapter6-plugins/chapter6-plugins.pro b/examples/declarative/tutorials/extending/chapter6-plugins/chapter6-plugins.pro index f4013d5f..17986a6b 100644 --- a/examples/declarative/tutorials/extending/chapter6-plugins/chapter6-plugins.pro +++ b/examples/declarative/tutorials/extending/chapter6-plugins/chapter6-plugins.pro @@ -1,5 +1,5 @@ TEMPLATE = lib -CONFIG += qt plugin +CONFIG += plugin QT += declarative widgets DESTDIR = lib @@ -14,12 +14,7 @@ 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 +target.path = $$[QT_INSTALL_EXAMPLES]/declarative/tutorials/extending/chapter6-plugins +qml.files = app.qml qmldir +qml.path = $$[QT_INSTALL_EXAMPLES]/declarative/tutorials/extending/chapter6-plugins +INSTALLS += target qml |