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. Is it possible to build a version of Qt which works with both Android and Desktop?
Forum Updated to NodeBB v4.3 + New Features

Is it possible to build a version of Qt which works with both Android and Desktop?

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 1.1k 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.
  • K Offline
    K Offline
    Kimi Arthur
    wrote on last edited by
    #1

    I'm using Linux and from the download page, it seems Android and Desktop uses different binaries.

    One thing I want to know is if I build from source, will it be possible to use only one copy of Qt binaries to develop both for Android and Desktop?

    And if this is impossible, how can I work with only one Creator but two set of binaries (like what I do in windows)? What should I install then?

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      i wouldn't recommend using the same binaries for desktop and android.
      "Use different Qt binaries with QtCreator":http://qt-project.org/doc/qtcreator-3.0/creator-project-qmake.html.

      --- 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
      0
      • E Offline
        E Offline
        eMixam
        wrote on last edited by
        #3

        No, you need to build with each specific version of the Qt libraries.

        You can work with one Creator just add the link to the qmake.exe Android/Desktop in "versions of Qt" in the options.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Kimi Arthur
          wrote on last edited by
          #4

          Thanks for the guide. I will try to build my own binary then.

          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