use gradle in qt 5.7.1
-
Hello,
i want to use gradle to deploy my programm to android.
but i won´t be able, because the compiler told me that qt 5.9 is required.
Only since 5.9 gradle will installed automaticaly, but i was not able to install the required mysql plugin in 5.9 so i use a working 5.7.1.i use qt creator 4.4.1
how can i add manualy gradle support?
thanks and greetings
-
Even Qt 5.5 works with Gradle without problems. What you need to do is downgrade Android SDK (build tools) to some older release (I think it was something around 23.0.0.1 that worked fine).
-
ok i downgrade to the version 23.0.1, but i get still the error:
The installed SDK tools version (26.0.2) does not include Gradle scripts. The minimum Qt version required for Gradle build to work is 5.9.0/5.6.3
Error while building/deploying project KalenderWidget (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.7.1 for Android armv7))
When executing step "Build Android APK" -
@Allerknappe said in use gradle in qt 5.7.1:
ok i downgrade to the version 23.0.1, but i get still the error:
The installed SDK tools version (26.0.2)Looks like it is still picking up the new SDK tools instead of the old ones.
-
ok i found an sdk tools version and installed it, now i search a good posibility to install the mysql plugin for android
-
@Allerknappe
You mean like this ?
https://wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Android -
yes mean this, but i tried the last 2 days to build with msys the shell script. it was only a try...
i found another instruction here
http://munteanumarian.blogspot.de/2014/09/build-mysql-plugin-for-qt-android.htmlbut at least i got also an error so i try another versions etc...
i have already post a comment with my errir from your postet link https://wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Android
here