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. [SOLVED] Which architecture has the highest range of devices?
QtWS25 Last Chance

[SOLVED] Which architecture has the highest range of devices?

Scheduled Pinned Locked Moved Mobile and Embedded
androiddevicesrange
5 Posts 2 Posters 1.6k 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.
  • G Offline
    G Offline
    guidupas
    wrote on 29 Jun 2015, 15:12 last edited by guidupas
    #1

    When developing with Qt for Android its possible to choose what architecture to build the app (armeabi, armeabi-v7a, x86 and x86_64).

    Which architecture has the highest range of devices?

    There is a way to develop the app to reach all architecture devices?

    Att.
    Guilherme Cortada Dupas

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 30 Jun 2015, 08:01 last edited by
      #2

      ARMv7 is - by very, very far - the most popular one.

      You can build a separate APK for each architecture and deploy them all. Please see this.

      (Z(:^

      G 1 Reply Last reply 30 Jun 2015, 12:23
      0
      • S sierdzio
        30 Jun 2015, 08:01

        ARMv7 is - by very, very far - the most popular one.

        You can build a separate APK for each architecture and deploy them all. Please see this.

        G Offline
        G Offline
        guidupas
        wrote on 30 Jun 2015, 12:23 last edited by
        #3

        @sierdzio Thank you for the reply.

        Very nice link. In this link, at the end, has something about changing the application.mk file to support multiple devices in the same APK. Do you know the path of this file?

        Att.
        Guilherme Cortada Dupas

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 30 Jun 2015, 12:37 last edited by
          #4

          Hi, application.mk is probably relevant for native Android developers, not Qt devs. I can't check exactly because I'm not at my main PC right now.

          I did a quick research and don't have any exact results.

          Bogdan, the creator of Android port of Qt, says it is possible to build a Qt project for all architectures separately, then take the resulting .so libraries with your code and push them into a single APK (Android OS will then pick the right .so for the device automatically). However, I have not found any instructions on how to actually do it. You will have to try yourself.

          What the Qt documentation recommends, though, is to build completely separate APKs, and distribute those. Link.

          Both approaches have their advantages and drawbacks.

          (Z(:^

          G 1 Reply Last reply 30 Jun 2015, 14:09
          0
          • S sierdzio
            30 Jun 2015, 12:37

            Hi, application.mk is probably relevant for native Android developers, not Qt devs. I can't check exactly because I'm not at my main PC right now.

            I did a quick research and don't have any exact results.

            Bogdan, the creator of Android port of Qt, says it is possible to build a Qt project for all architectures separately, then take the resulting .so libraries with your code and push them into a single APK (Android OS will then pick the right .so for the device automatically). However, I have not found any instructions on how to actually do it. You will have to try yourself.

            What the Qt documentation recommends, though, is to build completely separate APKs, and distribute those. Link.

            Both approaches have their advantages and drawbacks.

            G Offline
            G Offline
            guidupas
            wrote on 30 Jun 2015, 14:09 last edited by
            #5

            @sierdzio Ok. Thank you a lot.

            Att.
            Guilherme Cortada Dupas

            1 Reply Last reply
            0

            4/5

            30 Jun 2015, 12:37

            • Login

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