diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-08-25 14:15:57 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-08-25 14:19:44 +0200 |
commit | 36e8b65d59bfafc9951279ce175241fc23afbee2 (patch) | |
tree | bd0c3d539e8d3ae0dd719b29a6eadfe3c4c32051 /src/libs/qmljs/qmljsmodelmanagerinterface.h | |
parent | 6cf563bb25b3bc8f48cd45e22d648bfdb16bca99 (diff) | |
download | qt-creator-36e8b65d59bfafc9951279ce175241fc23afbee2.tar.gz |
QmlJS: Fix running qmldump on plugins that require a specific uri.
The builtin QML plugins require to be imported with the full uri, i.e.
import Qt.labs.particles 1.0
so setting the import path to imports/Qt/labs and doing
import particles 1.0
is not supposed to work. (see QTBUG-11139)
This change adjusts qmldump to take an import path *and* the import uri,
so it will be able to dump the type information for these plugins.
Reviewed-by: Erik Verbruggen
Diffstat (limited to 'src/libs/qmljs/qmljsmodelmanagerinterface.h')
-rw-r--r-- | src/libs/qmljs/qmljsmodelmanagerinterface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/qmljs/qmljsmodelmanagerinterface.h b/src/libs/qmljs/qmljsmodelmanagerinterface.h index 7cd4e9bc47..896878bceb 100644 --- a/src/libs/qmljs/qmljsmodelmanagerinterface.h +++ b/src/libs/qmljs/qmljsmodelmanagerinterface.h @@ -94,6 +94,8 @@ public: virtual QStringList importPaths() const = 0; + virtual void loadPluginTypes(const QString &libraryPath, const QString &importPath, const QString &importUri) = 0; + signals: void documentUpdated(QmlJS::Document::Ptr doc); void documentChangedOnDisk(QmlJS::Document::Ptr doc); |