Port mobile Apps (Android, iOS) from 5.15 to 6.6
-
FWIW - I'm working on a blog series about 'HowTo port your mobile App from Qt 5.15 to Qt 6.6'
http://ekkesapps.org/
Attention: not complete yet ! Will be WIP until QtWS23 (my Session there Nov 29th 10:25)
A short summary what changes I'm doing in my projects:
ekke's CheckList
https://ekkesapps.wordpress.com/qt-6-qmake/ekkes-checklist/ -
Nice !
Thanks for sharing :-)
-
@SGaist finally have finished my Checklist HowTo Port mobile Apps from 5.15 to 6.6
https://t1p.de/ekkeChecklist
some blocking issues, but over all most of my 20 Apps are compiling/running on Android/iOS.last big step was the QML Camera https://t1p.de/ekkeCamera requiring a complete rewrite.
Now it's easier to develop a QML Camera as with 5.15.
Many 5.15 Bugs on Android fixed, but there are 6 new bugs - hopefully get fixed for 6.6.1. Please Vote if you want to use the QML Camera with 6.6
Because the declarative camera example only covers some parts, I'll provide a QML Camera Example in december.
Starting next week I have to master the port from QMake to CMake -
@ekkescorner Nice !
For the qmake to cmake port, there's a helper script that you can leverage: qmake2cmake.
Hope it helps
-
@SGaist thx. this will be one of the starting points.
from discussions at Qt Discord server I know that there are some CMake problems deploying apps to Google Play and Apple App Store. ...will report about my experiences. -
@SGaist tried the qmake2cmake script, but it doesn't really help - covers only 10% of complexe QMake .pro if dealing with Android and iOS specials, translations, java and objective-C code, ... and much more.
will report and blog about in detail. in some weeks. step by step ;-) -
@ekkescorner I am a bit disappointed for you. I thought that since it was used to help move Qt itself to cmake it would be of more help to you.
-
@SGaist did some more tests. removed some lines with errors from .pro and got some more output from qmake2cmake. but only for the easy parts ;-)
android or ios - specific parts are missed.
ATM I'm learning from CMakeLists.txt provided by Qt example apps, other projects and documentation.what's really missed: official guides for mobile (android and ios) apps (including translations, native code, custom info.plist, Android Manifest, openSSL) from build to deploy and publish to stores using CMake.
of course I'll blog about my findings in some weeks.