From 36af8113fc9b98c90c8fd0afd7a76f3bc23dc23b Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Wed, 24 Feb 2010 17:44:53 +0100 Subject: Install the QML extensions. --- imports/Qt/multimedia/qmldir | 1 + imports/Qt/widgets/qmldir | 1 + src/plugins/qdeclarativemodules/multimedia/multimedia.pro | 10 +++++++--- src/plugins/qdeclarativemodules/widgets/widgets.pro | 9 +++++++-- 4 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 imports/Qt/multimedia/qmldir create mode 100644 imports/Qt/widgets/qmldir diff --git a/imports/Qt/multimedia/qmldir b/imports/Qt/multimedia/qmldir new file mode 100644 index 0000000..0e6f656 --- /dev/null +++ b/imports/Qt/multimedia/qmldir @@ -0,0 +1 @@ +plugin multimedia diff --git a/imports/Qt/widgets/qmldir b/imports/Qt/widgets/qmldir new file mode 100644 index 0000000..6f19878 --- /dev/null +++ b/imports/Qt/widgets/qmldir @@ -0,0 +1 @@ +plugin widgets diff --git a/src/plugins/qdeclarativemodules/multimedia/multimedia.pro b/src/plugins/qdeclarativemodules/multimedia/multimedia.pro index 21382c5..d8ad18e 100644 --- a/src/plugins/qdeclarativemodules/multimedia/multimedia.pro +++ b/src/plugins/qdeclarativemodules/multimedia/multimedia.pro @@ -5,7 +5,11 @@ QT += multimedia declarative SOURCES += multimedia.cpp -QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/qdeclarativemodules -target.path = $$[QT_INSTALL_PLUGINS]/plugins/qdeclarativemodules -INSTALLS += target +QTDIR_build:DESTDIR = $$QT_BUILD_TREE/imports/Qt/multimedia +target.path = $$[QT_INSTALL_IMPORTS]/Qt/multimedia + +qmldir.files += $$QT_BUILD_TREE/imports/Qt/multimedia/qmldir +qmldir.path += $$[QT_INSTALL_IMPORTS]/Qt/multimedia + +INSTALLS += target qmldir diff --git a/src/plugins/qdeclarativemodules/widgets/widgets.pro b/src/plugins/qdeclarativemodules/widgets/widgets.pro index 03c4bf1..3ec38da 100644 --- a/src/plugins/qdeclarativemodules/widgets/widgets.pro +++ b/src/plugins/qdeclarativemodules/widgets/widgets.pro @@ -11,5 +11,10 @@ HEADERS += \ graphicswidgets_p.h \ graphicslayouts_p.h -QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/qdeclarativemodules -target.path = $$[QT_INSTALL_PLUGINS]/plugins/qdeclarativemodules +QTDIR_build:DESTDIR = $$QT_BUILD_TREE/imports/Qt/widgets +target.path = $$[QT_INSTALL_IMPORTS]/Qt/widgets + +qmldir.files += $$QT_BUILD_TREE/imports/Qt/widgets/qmldir +qmldir.path += $$[QT_INSTALL_IMPORTS]/Qt/widgets + +INSTALLS += target qmldir -- cgit v0.12