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

  • 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.



  • Lifetime Qt Champion


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

  • Moderators

    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.

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

  • 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!

  • 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:

    • [x] 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)
      ** [x] 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


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


    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.


  • Moderators

    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.

  • Moderators

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

  • I m using Chakra Linux and all works ;-)

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.