diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2013-05-15 10:55:54 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2013-05-15 11:10:43 +0300 |
commit | 5947c46dff6441aeddf369e0e2928b55c8fe6ae0 (patch) | |
tree | 11216c55c197b2a575cd1548bef643582b2c20b6 /demos/qmlcustomlegend/main.cpp | |
parent | 0fc60b87ece9fb992c2d8cb15bc34f25f347ce6e (diff) |
Make creator stop whining about changed generated files
Change-Id: Iff1a13f6686b20d46ed6d8125a3bdd9e302d0806
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'demos/qmlcustomlegend/main.cpp')
-rw-r--r-- | demos/qmlcustomlegend/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/qmlcustomlegend/main.cpp b/demos/qmlcustomlegend/main.cpp index 92e1a1f5..16096354 100644 --- a/demos/qmlcustomlegend/main.cpp +++ b/demos/qmlcustomlegend/main.cpp @@ -26,6 +26,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) { QScopedPointer<QApplication> app(createApplication(argc, argv)); QScopedPointer<QmlApplicationViewer> viewer(QmlApplicationViewer::create()); + viewer->addImportPath(QString::fromLatin1("%1/%2").arg(QCoreApplication::applicationDirPath(), QLatin1String("imports"))); //viewer->setOrientation(QmlApplicationViewer::ScreenOrientationAuto); viewer->setSource(QUrl("qrc:/qml/qmlcustomlegend/loader.qml")); |