White screen on launching application - Qt QML
-
That is because Windows is crap. Don't worry, you can still read the logs. Try "this":http://stackoverflow.com/questions/482678/how-to-capture-stderr-on-windows-dos or "this":http://support.microsoft.com/kb/308427.
-
Good idea, try with a debug build.
-
It is not mandatory. You can include all QML files (and other files, too) using "Qt Resource Sytem":http://qt-project.org/doc/qt-5/resources.html.
-
Yes, Qt Creator will basically do all the work for you, don't worry. Just open your project and select Add New...->Qt->Qt Resource File. It will add the file, and you can put your QML files there through an easy, built-in GUI tool.
You also need to change one thing in your code: when you set the main QML file source (to QtQuick2ApplicationViewer, QQuickView, QQmlEngine, etc.), you need to change the path to this:
@
:/prefix/myMainQmlFIle.qml
//or
qrc:///prefix/myMainQmlFIle.qml
@ -
Thank you, you are welcome :-)