diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-14 01:31:05 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-14 01:31:05 (GMT) |
commit | 428317f83fd8b7a62244a446b76299de050d1325 (patch) | |
tree | a088685b37f99fb27a2fdcbdf32cd3db0fccdd75 /src/declarative/qml/qdeclarativeengine.h | |
parent | 65020d507a5b6a932034b9d6ee57fd765893f3ad (diff) | |
download | Qt-428317f83fd8b7a62244a446b76299de050d1325.zip Qt-428317f83fd8b7a62244a446b76299de050d1325.tar.gz Qt-428317f83fd8b7a62244a446b76299de050d1325.tar.bz2 |
Give better error messages on plugin load failures.
Fixes reverted commit e0dcdbd2984299665b9b784b201289219b9978d3.
Diffstat (limited to 'src/declarative/qml/qdeclarativeengine.h')
-rw-r--r-- | src/declarative/qml/qdeclarativeengine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.h b/src/declarative/qml/qdeclarativeengine.h index fcaddcf..7b058ea 100644 --- a/src/declarative/qml/qdeclarativeengine.h +++ b/src/declarative/qml/qdeclarativeengine.h @@ -85,7 +85,7 @@ public: void setPluginPathList(const QStringList &paths); void addPluginPath(const QString& dir); - bool importPlugin(const QString &filePath, const QString &uri); + bool importPlugin(const QString &filePath, const QString &uri, QString *errorString); void setNetworkAccessManagerFactory(QDeclarativeNetworkAccessManagerFactory *); QDeclarativeNetworkAccessManagerFactory *networkAccessManagerFactory() const; |