- User Since
- Mar 5 2018, 11:53 AM (88 w, 5 d)
Jul 9 2019
Just out of curiosity, why don't you use the cmake toolchain from Android NDK ? is located in ndk-bundle/build/cmake/android.toolchain.cmake
Mar 17 2019
Not needed anymore
5.12 is enough for *me*.
I need it in 5.12, but IMHO it doesn't hurt to have it in 5.9 as well, considering that there will be a few more 5.9 releases
It's qt5.10 branch
But I don't know how :)
Np, I'll abandon mine
Dec 21 2018
yes, cmake cmake-3.10.2 should be ok with any NDK (including NDKr18)
I recommend you another approach:
Use sdkmanager (from Android SDK) to install Google's cmake. Personally I'm using it also to install the ndk, but NDKr18 removed the gcc support.
If you need also gcc the best NDK is r17c (has a non-buggy clang and gcc).
Nov 19 2018
@apol when I started the work on https://codereview.qt-project.org/#/c/244363/ someone mentioned that it will be great if it will be a cpack script which creates the .apk.
I see you already did the work, will you be interested to upstream it to QtBase? I also saw that you started the work on Android support in KDevelop, if you want to add run & debug
support (not only for QtApps, but for any C++ apps) please fell free to use the what I've done in QtCreator.
Nov 14 2018
I wanted to say that http://code.qt.io/cgit/qt/qtandroidextras.git/tree/examples/androidextras/notification is a good start but I changed my mind very fast.
I don't think it's possible to do it entirely from C++, mostly because you need to get notified when the user taps on that notification (I don't know KNotifications API, but I assume it has something like that) , so a small java code is still needed.
@mart that piece of code is not that ugly ... it does its job ;-)
Apr 12 2018