[Android-development] Qt5 Android with CMake

Micke Prag micke.prag at telldus.se
Fri Nov 8 12:05:38 CET 2013


On 2013-11-08 12:00, android-development-request at qt-project.org wrote:
> From: <Matt.Bolger at csiro.au>
> Subject: [Android-development] Qt5 Android with CMake
> To: <android-development at qt-project.org>
> Message-ID:
> 	<F15229718A12B142A165C8266B50947D1B1519BB at exmbx03-cdc.nexus.csiro.au>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
> We have a decent size codebase using Qt4 and CMake and would like to work towards having Android (and eventually iOS) ports of applications that are built using this codebase. I've recently updated our CMake files to build using Qt5 on desktop platforms, I've also played with some simple apps built using Qt5.2 and Qt Creator 3's Android deployment. I've also made some simple apps with the android-cmake toolchain (https://code.google.com/p/android-cmake/) and seen some posts about decoupling the Android magic out of Qt Creator http://blog.qt.digia.com/blog/2013/10/09/android-deployment-in-qt-5-2/.
>
> My request is for any help in tying this all together to support building Android applications with Qt and CMake (as opposed to qmake based .pro projects). Maybe someone is already doing this? Maybe there's plans to support it (since CMake is already support for Qt5 desktop apps)? Maybe someone could help guide me though what new development would be needed to support this?
>
> Any information would be fantastic.
>
> Thanks
>
> Matt Bolger
> Software Engineer & Research Projects Officer
> Computational Modelling Group
> CSIRO Computational Informatics
> www.csiro.au/workspace<http://www.csiro.au/workspace>
I am currently porting a CMake Qt4 application to Qt5 and CMake. I have
the buildscripts working and the app up and running. I do not have the
image plugins working though so none of my images are loaded.

I will gladly share my work with you. Do you have your Qt4 cmake-rules
available somewhere online?

Regards
Micke



More information about the Android-development mailing list