summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2010-12-08 14:06:18 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2010-12-09 10:50:56 (GMT)
commit1b41444e13d3e9e2f0733129675d0c2996e7df57 (patch)
treecf4167eaa56f09cfd58c0cf18fce33f4e9d16a8c /src/declarative/qml
parentdbc5757a546cdb3f1f4f80e178e76cd3cf687349 (diff)
downloadQt-1b41444e13d3e9e2f0733129675d0c2996e7df57.zip
Qt-1b41444e13d3e9e2f0733129675d0c2996e7df57.tar.gz
Qt-1b41444e13d3e9e2f0733129675d0c2996e7df57.tar.bz2
Add libinfix support for QML plugins in Symbian.
Task-number: QTBUG-14736 Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativeimport.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeimport.cpp b/src/declarative/qml/qdeclarativeimport.cpp
index acc13de..94765f2 100644
--- a/src/declarative/qml/qdeclarativeimport.cpp
+++ b/src/declarative/qml/qdeclarativeimport.cpp
@@ -382,7 +382,13 @@ bool QDeclarativeImportsPrivate::importExtension(const QString &absoluteFilePath
foreach (const QDeclarativeDirParser::Plugin &plugin, qmldirParser.plugins()) {
QString resolvedFilePath = database->resolvePlugin(dir, plugin.path, plugin.name);
-
+#if defined(QT_LIBINFIX) && defined(Q_OS_SYMBIAN)
+ if (resolvedFilePath.isEmpty()) {
+ // In case of libinfixed build, attempt to load libinfixed version, too.
+ QString infixedPluginName = plugin.name + QLatin1String(QT_LIBINFIX);
+ resolvedFilePath = database->resolvePlugin(dir, plugin.path, infixedPluginName);
+ }
+#endif
if (!resolvedFilePath.isEmpty()) {
if (!database->importPlugin(resolvedFilePath, uri, errorString)) {
if (errorString)