Solved iOS Checkbox crash
-
Hi,
I try to port https://github.com/lutraconsulting/input to iOS and I encountered a crash (directly when app is opened) when CheckBox is used
CheckBox { text: "aaaa" }
The exact same stacktrace is seen when Controls1 Dialog is used.
build system: Qt 5.11.3 (due to Qt bug), build on Mojave, target device iPad with iOS 12.4
Thanks.
-
detto for ComboBox {}
-
I can replicate the same issue with preview of 5.13.1 build.
-
Hi,
Are you using their own components and it is crashing ?
-
Hi @SGaist,
I am developer of the application and I try to find out the reason of those crashes.I can replicate the crash ending in iod_read_fn() even when I wipe whole main.qml file and use the simple, default ComboBox (from Controls2) or CheckBox.
It looks like it happens with Qt QML components that contains some kind of icon/graphics and I suspect that either I miss something in the .pro file or there is some missing resources in the Qt's ios static build?
-
Does it happen also if you use a default project ?
-
I have found the issue. One of the linked libraries GDAL has internal copy of libpng. The symbols from this library were used instead of Qt's libqtlibpng which caused coredumps in Qt.
-
Glad you found out and thanks for sharing !