Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. use gradle in qt 5.7.1

use gradle in qt 5.7.1

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 3 Posters 3.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Allerknappe
    wrote on last edited by
    #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

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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).

      (Z(:^

      1 Reply Last reply
      2
      • A Offline
        A Offline
        Allerknappe
        wrote on last edited by
        #3

        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"

        sierdzioS 1 Reply Last reply
        0
        • A Allerknappe

          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"

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @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.

          (Z(:^

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Allerknappe
            wrote on last edited by
            #5

            ok i found an sdk tools version and installed it, now i search a good posibility to install the mysql plugin for android

            mrjjM 1 Reply Last reply
            0
            • A Allerknappe

              ok i found an sdk tools version and installed it, now i search a good posibility to install the mysql plugin for android

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Allerknappe
              You mean like this ?
              https://wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Android

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Allerknappe
                wrote on last edited by
                #7

                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.html

                but 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

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved