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. Having issues with building QT for Android, QT 5.10/QTCr 4.5.0/Win7/JDK8

Having issues with building QT for Android, QT 5.10/QTCr 4.5.0/Win7/JDK8

Scheduled Pinned Locked Moved Solved Mobile and Embedded
12 Posts 6 Posters 3.0k Views
  • 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.
  • X Offline
    X Offline
    xchg.ca
    wrote on last edited by xchg.ca
    #1

    Having issues with building QT project for Android, QT 5.10/QTCr 4.5.0/Win7/JDK 8

    Have installed:
    Android settings are OK. (SDK Version: 26.1.1, NDK Version: 10.4.0)
    It seems to be building stuff, but when goes to deployment, I have error:

    Cannot find the android build step.
    Error while building/deploying project BTRemote (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.10.0 for Android armv7))
    When executing step "Deploy to Android device"

    It looks like gradle wrapper is missing? Look like necessary build steps completely missing....
    But it all installed fresh, and I cannot wrap my mind why it is such pain to setup :(
    How can I make it work now? How can I troubleshoot this?
    Thank you.

    EDIT:

    Solved by @casdevel:
    maybe 'QmakeAndroidSupport' plugin is not enabled? You can see/change that from 'Installed Plugins' dialog (Main Menu->Help->About Plugins). Note that this option is hidden by default, check 'Show all' check box to make it visible.

    jsulmJ raven-worxR 3 Replies Last reply
    0
    • X xchg.ca

      Having issues with building QT project for Android, QT 5.10/QTCr 4.5.0/Win7/JDK 8

      Have installed:
      Android settings are OK. (SDK Version: 26.1.1, NDK Version: 10.4.0)
      It seems to be building stuff, but when goes to deployment, I have error:

      Cannot find the android build step.
      Error while building/deploying project BTRemote (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.10.0 for Android armv7))
      When executing step "Deploy to Android device"

      It looks like gradle wrapper is missing? Look like necessary build steps completely missing....
      But it all installed fresh, and I cannot wrap my mind why it is such pain to setup :(
      How can I make it work now? How can I troubleshoot this?
      Thank you.

      EDIT:

      Solved by @casdevel:
      maybe 'QmakeAndroidSupport' plugin is not enabled? You can see/change that from 'Installed Plugins' dialog (Main Menu->Help->About Plugins). Note that this option is hidden by default, check 'Show all' check box to make it visible.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @xchg.ca Are you building Qt for Android or an app?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      X 1 Reply Last reply
      0
      • X xchg.ca

        Having issues with building QT project for Android, QT 5.10/QTCr 4.5.0/Win7/JDK 8

        Have installed:
        Android settings are OK. (SDK Version: 26.1.1, NDK Version: 10.4.0)
        It seems to be building stuff, but when goes to deployment, I have error:

        Cannot find the android build step.
        Error while building/deploying project BTRemote (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.10.0 for Android armv7))
        When executing step "Deploy to Android device"

        It looks like gradle wrapper is missing? Look like necessary build steps completely missing....
        But it all installed fresh, and I cannot wrap my mind why it is such pain to setup :(
        How can I make it work now? How can I troubleshoot this?
        Thank you.

        EDIT:

        Solved by @casdevel:
        maybe 'QmakeAndroidSupport' plugin is not enabled? You can see/change that from 'Installed Plugins' dialog (Main Menu->Help->About Plugins). Note that this option is hidden by default, check 'Show all' check box to make it visible.

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        @xchg.ca
        did you make sure you let QtCreator create the android folder]??
        By pressing the "Create Templates" button

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        1
        • X xchg.ca

          Having issues with building QT project for Android, QT 5.10/QTCr 4.5.0/Win7/JDK 8

          Have installed:
          Android settings are OK. (SDK Version: 26.1.1, NDK Version: 10.4.0)
          It seems to be building stuff, but when goes to deployment, I have error:

          Cannot find the android build step.
          Error while building/deploying project BTRemote (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.10.0 for Android armv7))
          When executing step "Deploy to Android device"

          It looks like gradle wrapper is missing? Look like necessary build steps completely missing....
          But it all installed fresh, and I cannot wrap my mind why it is such pain to setup :(
          How can I make it work now? How can I troubleshoot this?
          Thank you.

          EDIT:

          Solved by @casdevel:
          maybe 'QmakeAndroidSupport' plugin is not enabled? You can see/change that from 'Installed Plugins' dialog (Main Menu->Help->About Plugins). Note that this option is hidden by default, check 'Show all' check box to make it visible.

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @xchg.ca
          did you make sure you let QtCreator create the android folder]??
          By pressing the Create Templates button

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          X 1 Reply Last reply
          0
          • jsulmJ jsulm

            @xchg.ca Are you building Qt for Android or an app?

            X Offline
            X Offline
            xchg.ca
            wrote on last edited by
            #5

            @jsulm Trying to Run App on android device. Sorry if I was not clear on that one

            1 Reply Last reply
            0
            • raven-worxR raven-worx

              @xchg.ca
              did you make sure you let QtCreator create the android folder]??
              By pressing the Create Templates button

              X Offline
              X Offline
              xchg.ca
              wrote on last edited by
              #6

              @raven-worx Thank you for the reply. But "Build Android APK" is completely missing. This is what I meant when I say build step i missing. ( I did not know the right name )

              1 Reply Last reply
              0
              • X Offline
                X Offline
                xchg.ca
                wrote on last edited by
                #7

                Hey guys, if this is too complex so may be there is Step by Step guide how to install QT 5.10 for Android for Windows and make it actually work ?
                I did follow existing doc but this is where I endup - it does not work.

                1 Reply Last reply
                0
                • X Offline
                  X Offline
                  xchg.ca
                  wrote on last edited by
                  #8

                  Anyone ? Or I better use Ubuntu ?

                  M 1 Reply Last reply
                  0
                  • X xchg.ca

                    Anyone ? Or I better use Ubuntu ?

                    M Offline
                    M Offline
                    mvuori
                    wrote on last edited by
                    #9

                    @xchg.ca You also need to install Android Studio to get gradle. Myself, I have installed android-studio-ide-145.3001415-windows.zip, which is not nearly the latest version if I remember corretly.

                    Yes, the whole installation thing is a terrible mess...

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Hi,

                      The installation can be painful because Google tends to change and move around things in its SDK and NDK without any warning. Therefore, it's important to check the platform constraints/recommandations and known issues.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #11

                        @xchg-ca maybe 'QmakeAndroidSupport' plugin is not enabled? You can see/change that from 'Installed Plugins' dialog (Main Menu->Help->About Plugins). Note that this option is hidden by default, check 'Show all' check box to make it visible.

                        X 1 Reply Last reply
                        2
                        • ? A Former User

                          @xchg-ca maybe 'QmakeAndroidSupport' plugin is not enabled? You can see/change that from 'Installed Plugins' dialog (Main Menu->Help->About Plugins). Note that this option is hidden by default, check 'Show all' check box to make it visible.

                          X Offline
                          X Offline
                          xchg.ca
                          wrote on last edited by
                          #12

                          @casdevel Dude !!! That did it ! I had no idea it was disabled. Thank you very much !

                          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