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. How do I compile Qt 5.1 (dev branch) to test Android stuff?
Forum Updated to NodeBB v4.3 + New Features

How do I compile Qt 5.1 (dev branch) to test Android stuff?

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 3 Posters 3.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.
  • T Offline
    T Offline
    trusktr
    wrote on last edited by
    #1

    I found qt-project.org/wiki/Building-Qt-5-from-Git but that doesn't seem to be specifically for android stuff.
    I also found http://qt-project.org/wiki/Qt5ForAndroidBuilding but it says it doesn't work with qt5.git.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      You will have to check out the dev branch first. See http://qt-project.org/forums/viewthread/25579/#117201

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

        5.1 code is already merged to stable branch. You can check out either one (by hand, I don't think qt5.git is updated ATM).

        (Z(:^

        1 Reply Last reply
        0
        • T Offline
          T Offline
          trusktr
          wrote on last edited by
          #4

          Thanks. So let me get this straight:

          I can clone qt5.git, then git submodule init, git submodule update, then git submodule foreach --recursive git checkout stable?

          Then what? I tried going into the directory for a submodule, then doing ./configure -developer-build -xplatform android-g++ [other flags] but it says -xplatform is an invalid command line parameter.

          By the way, any idea when 5.1 will be released?

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

            End of April or somewhere in May this year.

            Don't go into a subdir. Configure is to be used in the root directory of qt5.git.

            (Z(:^

            1 Reply Last reply
            0
            • T Offline
              T Offline
              trusktr
              wrote on last edited by
              #6

              Thanks sierdzio, but then how do I get past the messages saying -xplatform is not a valid parameter, so that I can compile for Android?

              If I don't figure this out by the time 5.1, then it won't matter anymore I bet. :D

              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