Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.15.2
-
None
Description
Qml engine fails to load ui files in android.
// Test.qml import QtQuick 2.10 import "." as This This.TestForm { } // TestForm.ui.qml import QtQuick 2.10 Item { }
Workaround:
Drop ui extension by renaming TestForm.ui.qml to TestForm.qml
EDIT
Better workaround: Add qmldir file to the same folder where the Test.qml file exists
// Test.qml import QtQuick 2.10 TestForm { } // TestForm.ui.qml import QtQuick 2.10 Item { } // qmldir TestForm 1.0 TestForm.ui.qml
Attachments
Issue Links
- is duplicated by
-
QTBUG-92068 Remote loading ui files in Qml fails to load from existing directory
- Closed