Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.3.0
-
-
81b5395aef (qt/qtbase/dev) 81b5395aef (qt/tqtc-qtbase/dev) 8562f3aee6 (qt/qtbase/6.4) 8562f3aee6 (qt/tqtc-qtbase/6.4) 869645bcf3 (qt/qtbase/6.3) 869645bcf3 (qt/tqtc-qtbase/6.3)
Description
The attached demo code runs fine on Linux here, but fails for everything else I tried.
Android - in two places. The build process itself says
qmldir file not found at "/home/me/tmp/demo/ui"
twice.
Starting the application bails out on Android with
W libdemo_x86_64.so: QQmlApplicationEngine failed to load component W libdemo_x86_64.so: qrc:/demo/main.qml:10:5: Foo is not a type
.
Building for iOS stops with:
clang: error no such file or directory: '/User/<snip>/ui/Debug/libui.a'
Building for macOS, gives a linker warning:
<snip>/usr/bin/ranlib: file: ui/libuiplugin.a(mocs_compilation.cpp.o) has no symbols
Webassembly compilations doesn't - as Linux - have any complaints while building.
Webassembly and macOS run into
QQmlApplicationEngine failed to load component qrc:/demo/main.qml:10:5: Foo is not a type
when trying to start.
Originally, I just wanted to make the android problem visible, but that leaves me behind a bit confused. I'm using the same mechanism in a bigger application, and at least macOS is known to work. Either I'm missing something important, or somewhere else is missing something important
Attachments
Issue Links
- relates to
-
QTBUG-93268 target_link_libraries does not work with a target name on iOS
- Closed
-
QTCREATORBUG-26479 Handle custom CMake output dir for Android
- Closed
-
QTBUG-98545 Provide CMake API for deployment support
- Closed
-
QTBUG-128112 wasm cannot load qmldir
- Reported