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. Request recommendations of Linux distros for Qt5 and Qt Android development?

Request recommendations of Linux distros for Qt5 and Qt Android development?

Scheduled Pinned Locked Moved Mobile and Embedded
10 Posts 7 Posters 4.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.
  • E Offline
    E Offline
    EdOfTheMountain
    wrote on last edited by
    #1

    Can someone recommend a Linux distro for Qt5 and Android development?

    The reason I am looking is I am currently having some compiler environment difficulties under OSX 10.9.4. While Linux may not solve these problems I thought I might try.

    Thanks,

    -Ed

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

      Hi,

      Debian/Ubuntu/Gentoo are generally good. Don't forget to install the OpenGL dev package.

      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
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        IMO the best choice for productivity and ease of use is Kubuntu.

        Definitely, if you want to avoid dependency problems, go for a distro from Debian or *buntu family, as most of the guides and wiki pages are written primarily for them.

        (Z(:^

        A 1 Reply Last reply
        1
        • S Offline
          S Offline
          Sanchir Kartiev
          wrote on last edited by
          #4

          OpenSUSE - I guess, this is will be a good variant

          1 Reply Last reply
          0
          • E Offline
            E Offline
            EdOfTheMountain
            wrote on last edited by
            #5

            Thank you all.

            The *buntu family sounds like good advice since most guides and wiki pages are written for them.

            Kubuntu sounds worth a try. Thanks for the tip!

            1 Reply Last reply
            0
            • E Offline
              E Offline
              EdOfTheMountain
              wrote on last edited by
              #6

              Success!! I have a Qt 5.3.1 "hello world" widget app finally running on an Android simulator.

              In summary, do not bother with developing under Ubuntu 64-bit. I expect it could be made to work but not worth the effort to me.

              Qt Android Development Environment:

              • Ubuntu Gnome 14.04 32-bit ( I failed using 64-bit Ubuntu )
              • Qt 5.3.1
              • JDK: /usr/lib/jvm/java-6-openjdk-i386 ( Do not use Java 7 )
              • SDK: /home/edward/android/adt-bundle-linux-x86-20140702/sdk
              • NDK: /home/edward/android/android-ndk-r10

              After installing all package updates I added one additional SDK.

              Eclipse->Android SDK Manager:

              • Android 3.2 (API 13)->SDK Platform Installed

              Android simulators are a pain. The default settings often will not work. They are slow and cumbersome.

              Simulator Settings;

              • AVD: nexus7-api-20armeabi-v7a
                ** Target: Android 4.4W - API Level 20
                ** Android Wear ARM (aremabi-v7a)
                Hardware keyboard

                ** Skin: No Skin
                ** RAM: 1024 ( If I made any bigger the simulator would not run )
                ** VM Heap: 32
                ** Internal Storage: 200 MiB
                ** SD Card: Size: 1024 MiB
                ** Enmlation Options: (none)

              I thought I would try Qt 5.3.1 once again. This time when I installed, I did not try selecting Android x86 or Android armv5 as doing so seemed to break the Qt 5.3.1 installer under Ubuntu 64-bit. This may have been due to a missing 32-bit dependency under Ubuntu 64-bit. Anyway all I wanted was the default gcc and Android armv7 anyway

              • qt-opensource-linux-x86-android-5.3.1.run

              I no longer needed to manually add the following build environment variable fro my Qt project:

              • ANDROID_TARGET_ARCH

              There is nothing Android specific in my Qt project file. I also removed the INCLUDEPATH and LIBS from my Qt project file:
              @
              #INCLUDEPATH += $$(ANDROID_NDK_ROOT)/sources/cxx-stl/gnu-libstdc++/$$(ANDROID_NDK_TOOLCHAIN_VERSION)/libs/armeabi-v7a/include
              #LIBS += -L$$(ANDROID_NDK_ROOT)/sources/cxx-stl/gnu-libstdc++/$$(ANDROID_NDK_TOOLCHAIN_VERSION)/libs/armeabi
              @

              I hope this may help some other Android newbie.

              -Ed

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

                Hm, I am running Android apps from Ubuntu 14.04 without any problems... the SDK comes in 64b flavor, and 64b OpenJDK (7 in my case) works well, too.

                (Z(:^

                1 Reply Last reply
                0
                • p3c0P Offline
                  p3c0P Offline
                  p3c0
                  Moderators
                  wrote on last edited by
                  #8

                  Yes me too. Same configuration as that of sierdzio's. No problem at all.

                  157

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    claudiom
                    wrote on last edited by
                    #9

                    I m using Chakra Linux and all works ;-)

                    1 Reply Last reply
                    0
                    • sierdzioS sierdzio

                      IMO the best choice for productivity and ease of use is Kubuntu.

                      Definitely, if you want to avoid dependency problems, go for a distro from Debian or *buntu family, as most of the guides and wiki pages are written primarily for them.

                      A Offline
                      A Offline
                      AliasCummins
                      wrote on last edited by
                      #10

                      @sierdzio Upvoting this 5 years later because it's such good advice!

                      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