Request recommendations of Linux distros for Qt5 and Qt Android development?
-
wrote on 17 Jul 2014, 19:47 last edited by
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
-
Hi,
Debian/Ubuntu/Gentoo are generally good. Don't forget to install the OpenGL dev package.
-
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.
-
wrote on 18 Jul 2014, 05:37 last edited by
OpenSUSE - I guess, this is will be a good variant
-
wrote on 18 Jul 2014, 12:52 last edited by
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!
-
wrote on 25 Jul 2014, 13:29 last edited by
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
-
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.
-
Yes me too. Same configuration as that of sierdzio's. No problem at all.
-
wrote on 26 Jul 2014, 08:06 last edited by
I m using Chakra Linux and all works ;-)
-
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.
wrote on 16 Jan 2020, 16:32 last edited by@sierdzio Upvoting this 5 years later because it's such good advice!