[Interest] Qt 5.5.0 Import Paths Missing
mark diener
rpzrpzrpz at gmail.com
Fri Aug 21 16:22:32 CEST 2015
Ran into a project where the Qt 5.5.0 package builder is confused
and the application cannot find the modules.
This is being run inside Qt Creator 3.5.0 and the
QQmlApplication::importPathList()
does not provide the testgui.app/qt_qml path, it is missing a path, so the
Qml engine
cannot find it.
This problem is discussed earlier here:
https://bugreports.qt.io/browse/QTBUG-355602
This is not a macdeployqt question, I am still running the app inside Qt
Creator in development.
So it is NOT user error as was referenced in the bug report which finally
closed the bug report.
So how does one COMPLETELY reset and clean a project on IOS so that the
package builder
feels compelled to rebuild everything to include the testgui.app/qt_qml
path in the import path list?
Have a great day,
md
Here is Qt Creator application output:
Starting remote process.
QML debugging is enabled. Only use this in a safe environment.
(C++ Code: qDebug() << "Import paths:" << geng.importPathList() << endl ;)
Import paths:
("/Users/md/Library/Developer/CoreSimulator/Devices/1F460FB0-6CA4-4ED4-A320-2C68B1BB4258/data/Containers/Bundle/Application/6006577A-06E8-4B96-8E24-95A5A062F4D3/testgui.app")
QQmlComponent: Component is not ready
Screen error: (<Unknown File>:1:1: module "QtQuick" is not installed,
<Unknown File>:2:2: module "QtQuick.Window" is not installed, <Unknown
File>:1:1: module "QtQuick" is not installed, <Unknown File>:2:2: module
"QtQuick.Window" is not installed)
Run ended.
The Import Paths List should be as follows:
Import paths:
("/Users/md/Library/Developer/CoreSimulator/Devices/1F460FB0-6CA4-4ED4-A320-2C68B1BB4258/data/Containers/Bundle/Application/6006577A-06E8-4B96-8E24-95A5A062F4D3/testgui.app",
"/Users/md/Library/Developer/CoreSimulator/Devices/1F460FB0-6CA4-4ED4-A320-2C68B1BB4258/data/Containers/Bundle/Application/6006577A-06E8-4B96-8E24-95A5A062F4D3/testgui.app/qt_qml")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150821/bc2c7009/attachment.html>
More information about the Interest
mailing list