Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiling Qt 5.1 Alpha for Android on Ubuntu 12.10 64-bit
Forum Updated to NodeBB v4.3 + New Features

Compiling Qt 5.1 Alpha for Android on Ubuntu 12.10 64-bit

Scheduled Pinned Locked Moved Installation and Deployment
11 Posts 7 Posters 9.7k 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.
  • T Offline
    T Offline
    tobias.hunger
    wrote on last edited by
    #2

    I can't answer your main question, but as a rule of thumb you should always build as a non-root user. You may need to run make install as root (if the install location requires that), but never the build itself.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      atlemann
      wrote on last edited by
      #3

      Tried building as normal user to /home/.../lib, but I still get no valid kits. It auto-detects 9 toolchains from the NDK, which are listed under Compilers. However, the auto-detected kits are looking in the prebuilt/linux-x86/bin directory for an arm gdb debugger. The NDK is the 64 bit one from google, which contains prebuilt/linux-x86_64/bin folder, no x86 32-bit folder. How do I get a valid kit for a "Mobile Qt Application"? Is there another project type I am supposed to use?

      • Atle
      1 Reply Last reply
      0
      • A Offline
        A Offline
        atlemann
        wrote on last edited by
        #4

        Which project type should I use for Android/iOS project using Qt5.1 alpha? I have tried both Qt Quick 1 and Qt Quick 2, since “Mobile Qt Application” did not find the available kits useful. However, both Quick types give an error when trying to build:

        1. Project ERROR: Unknown module(s) in QT: declarative
        2. Project ERROR: Unknown module(s) in QT: qml quick

        In the code editor, it also says QApplication: No such file or directory...

        How do I fix this?

        • Atle
        1 Reply Last reply
        0
        • V Offline
          V Offline
          vlastimirs
          wrote on last edited by
          #5

          Bumping this one up. have a similar issue, with 5.1.0a and 2.7.1.

          no suitable kits found, but there are several listed in the options.

          @Atlemann: Any success yet?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            atlemann
            wrote on last edited by
            #6

            No success. I tried making a Qt Quick project instead, but then the QtCreator complained that it could not find any of the Q... include files. I'm just going to wait for a beta or final release.

            By the way, if I ever get this to work, can make a QtQuick2 project for an app for both Android and iOS or do I have to stick to QtQuick1?

            1 Reply Last reply
            0
            • JKSHJ Online
              JKSHJ Online
              JKSH
              Moderators
              wrote on last edited by
              #7

              Looks like there's not many people with the relevant knowledge in this forum...

              Try posting your question on the mailing list: http://lists.qt-project.org/mailman/listinfo/interest

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              0
              • M Offline
                M Offline
                muzicar
                wrote on last edited by
                #8

                Greets all.

                I'm having the same problem only with the 32-bit version of the newest QT5.1 beta1. Installed ant, java, sdk, ndk after that QT5.1 beta, added android kits in the options (successfully) also added one AVD which starts perfect.

                But if I want to create a new QT mobile application for Android it just doesn't show none of the kits that are infact properly installed (no errors anywhere).

                Everything else works fine and I have created three seperate qt gui apps without any problems.

                Has anyone got any knowledge on this or has the OP found any solutions to this?

                Kind regards.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  AlterX
                  wrote on last edited by
                  #9

                  Same problem on both win8 and linux gentoo (both 64bit) with Qt 5.1 rc

                  Qt Ambassador
                  Real-time cooperative teams: http://www.softairrealfight.net
                  Free Real-time network platform sdk: https://github.com/AlterX76/Solomon

                  https://codereview.qt-project.org/...

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    didac.perez
                    wrote on last edited by
                    #10

                    Same problem here... I have tried everything!

                    Did you finally succeed?

                    Cheers,

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      AlterX
                      wrote on last edited by
                      #11

                      Yes,
                      just use QtQuick2 project, the android version will be removed on the next release

                      Qt Ambassador
                      Real-time cooperative teams: http://www.softairrealfight.net
                      Free Real-time network platform sdk: https://github.com/AlterX76/Solomon

                      https://codereview.qt-project.org/...

                      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