Closed davemilter closed 4 years ago
There were issue with QtStaticCMake that would make it work only with qt ios. Last version i checked working with ios was 2eccfda5968c60024712d9a050bf34f6cfb662d1
.
I'm currently solving issue https://github.com/OlivierLDff/QtStaticCMake/issues/4 from QtStaticCMake. When it will be fixed i will retry to look at your app. And even create a sample hello world qt ios project.
Current issue that you have is that your wasn't linked to required libraries in qml/
folder.
foo_qml_plugin_import.cpp
should force linking to those libraries. Can you dump the content of this file?
You can check https://github.com/OlivierLDff/QQuickStaticHelloWorld/commit/5e7ef123c8fed052edc4b3f17d4c2ab8f1a25a58 Tell me if you manage to make it work. It is working with Qt5.12.3 for me from official installer.
I added better support for call of add_qt_ios_app
without parameters in
https://github.com/OlivierLDff/QtIosCMake/commit/0fe568fb10c433fcc8123489a8bf2f0e807d9df0
Thank you for example, @OlivierLDff !
I read #1 and tried this code:
https://github.com/davemilter/qt_ios_libs_bug/blob/run-app/CMakeLists.txt
It compiled just fine, foo_plugin_import.cpp and foo_qml_plugin_import.cpp generated.
But then application right after start closed on my iPad.
the whole code is here: https://github.com/davemilter/qt_ios_libs_bug/
Branch run-app .
Is I missed something?
Qt installed via online Installer. I can run qmake based project just fine via Qt Creator.
Or this issue should be here: https://github.com/OlivierLDff/QtStaticCMake ?