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. Problems setting up Qt for mobile - android.
Forum Updated to NodeBB v4.3 + New Features

Problems setting up Qt for mobile - android.

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 2 Posters 1.4k Views 1 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.
  • H Offline
    H Offline
    Homer JS
    wrote on last edited by
    #1

    Hi guys,
    it's me again and need help configuring the sdk, ndk etc. in Qt 5.4. I installed all needed components as described in the documentation but when I start a new project and run it there's no option to build for android. Just the two options Desktop Qt 5.4 and Desktop Qt 5.3. Any Ideas?
    Thank You for any replies.

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

      Hi,

      Did you check that you have the android Qt builds available in the Qt Versions panel in the preferences ?

      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
      • H Offline
        H Offline
        Homer JS
        wrote on last edited by
        #3

        In Qt > options there is a tab Qt Versions where only Qt 5.4.0 MSVC2012... and Qt 5.3 MSVC2012 can be found.

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

          Then you should add a new Qt version by hand and point it to the qmake from the android Qt build

          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
          • H Offline
            H Offline
            Homer JS
            wrote on last edited by
            #5

            Could you please take a look at this and tell me if it might work?
            https://www.youtube.com/watch?v=_nkhlhBwkjk

            Thank You.

            EDIT: Forget it, didn't work. I thought adding a qt version by hand as you said but where to point it exactly?

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

              In the folder where you originally installed Qt you should have several folders with name corresponding to the platform and compiler used. Just point the newly created Qt version to the qmake in your android Qt installation

              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

              • Login

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