summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-06-12 20:23:47 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-12 20:29:37 +0200
commit19bba2faca1e1a1e6ddbb7a899a6894fc64c1723 (patch)
tree0eac59ad10eb5c5063489b7d650ebfdaefb2a33e /src
parent7ce30f9e366a120bc4e69674fba0ab5d0a65ca6f (diff)
Separate the path for Qt Quick 1 plugins from Qt Quick 2
Install and load Qt Quick 1 plugins from imports/QtQuick1/... This is to avoid conflicts between Qt Quick 1 and 2 and cleanly spearate the plugins for both. Currently, e.g. the folderlistmodel exists for both, and gets installed into the same location. Change-Id: I55331a5a02148eacc3c615436d77eb97bf0fbd72 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qdeclarativeimport.cpp2
-rw-r--r--src/imports/folderlistmodel/folderlistmodel.pro2
-rw-r--r--src/imports/gestures/gestures.pro2
-rw-r--r--src/imports/particles/particles.pro2
-rw-r--r--src/imports/shaders/shaders.pro2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/declarative/qml/qdeclarativeimport.cpp b/src/declarative/qml/qdeclarativeimport.cpp
index 25e3b830..b147e1d9 100644
--- a/src/declarative/qml/qdeclarativeimport.cpp
+++ b/src/declarative/qml/qdeclarativeimport.cpp
@@ -720,7 +720,7 @@ QDeclarativeImportDatabase::QDeclarativeImportDatabase(QDeclarativeEngine *e)
// Search order is applicationDirPath(), $QML_IMPORT_PATH, QLibraryInfo::ImportsPath
#ifndef QT_NO_SETTINGS
- QString installImportsPath = QLibraryInfo::location(QLibraryInfo::ImportsPath);
+ QString installImportsPath = QLibraryInfo::location(QLibraryInfo::ImportsPath) + QString::fromLatin1("/QtQuick1");
#if defined(Q_OS_SYMBIAN)
// Append imports path for all available drives in Symbian
diff --git a/src/imports/folderlistmodel/folderlistmodel.pro b/src/imports/folderlistmodel/folderlistmodel.pro
index d7a8884b..6b9bf1d6 100644
--- a/src/imports/folderlistmodel/folderlistmodel.pro
+++ b/src/imports/folderlistmodel/folderlistmodel.pro
@@ -1,5 +1,5 @@
TARGET = qmlfolderlistmodelplugin
-TARGETPATH = Qt/labs/folderlistmodel
+TARGETPATH = QtQuick1/Qt/labs/folderlistmodel
include(../qimportbase.pri)
QT += widgets quick1 script
diff --git a/src/imports/gestures/gestures.pro b/src/imports/gestures/gestures.pro
index f1ea07a4..d382d0f1 100644
--- a/src/imports/gestures/gestures.pro
+++ b/src/imports/gestures/gestures.pro
@@ -1,5 +1,5 @@
TARGET = qmlgesturesplugin
-TARGETPATH = Qt/labs/gestures
+TARGETPATH = QtQuick1/Qt/labs/gestures
include(../qimportbase.pri)
QT += quick1 quick1-private widgets widgets-private gui gui-private core-private script-private
diff --git a/src/imports/particles/particles.pro b/src/imports/particles/particles.pro
index 45af41ad..f249a069 100644
--- a/src/imports/particles/particles.pro
+++ b/src/imports/particles/particles.pro
@@ -1,5 +1,5 @@
TARGET = qmlparticlesplugin
-TARGETPATH = Qt/labs/particles
+TARGETPATH = QtQuick1/Qt/labs/particles
include(../qimportbase.pri)
QT += quick1 quick1-private core-private gui-private widgets-private
diff --git a/src/imports/shaders/shaders.pro b/src/imports/shaders/shaders.pro
index 7572aac4..5fe70d6c 100644
--- a/src/imports/shaders/shaders.pro
+++ b/src/imports/shaders/shaders.pro
@@ -1,5 +1,5 @@
TARGET = qmlshadersplugin
-TARGETPATH = Qt/labs/shaders
+TARGETPATH = QtQuick1/Qt/labs/shaders
include(../qimportbase.pri)
QT += quick1 widgets opengl