Commit 9e13fa07 authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Fix default mainqmlfile in the qtquickapp template

The template itseld is a valid, working project. Since it makes
template development easier, I prefer keeping it working.

Change-Id: I1ca7815e272fb87460319a388e9c57a8e0391b96
Reviewed-by: default avatarKai Koehne <>
parent e572059e
...@@ -8,7 +8,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) ...@@ -8,7 +8,7 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
viewer->addImportPath(QLatin1String("modules")); // ADDIMPORTPATH viewer->addImportPath(QLatin1String("modules")); // ADDIMPORTPATH
viewer->setOrientation(QmlApplicationViewer::ScreenOrientationAuto); // ORIENTATION viewer->setOrientation(QmlApplicationViewer::ScreenOrientationAuto); // ORIENTATION
viewer->setMainQmlFile(QLatin1String("qml/app/main.qml")); // MAINQML viewer->setMainQmlFile(QLatin1String("qml/app/qtquick10/main.qml")); // MAINQML
viewer->showExpanded(); viewer->showExpanded();
return app->exec(); return app->exec();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment