[GCompris-devel] Configuring qt-creator for android

Holger Kaelberer hk at elberer.de
Mon Jan 18 09:20:30 UTC 2016


Hi

On 18.01.2016 10:03, RISHABH GUPTA wrote:
> Hello,
>
> I am getting an error while configuring :  "file COPY cannot find
> "/opt/qt5.1/5.5/android_armv7/qml/Box2D.2.0/qmldir"."
> If I unset Qml_box_2d option  then i get error during generation process
> https://paste.kde.org/pmwft8i6b
>
> It's says "You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK "
> although i have already set that.

Check whether it is set correctly!

Looking at your paste qmlbox2 is configured to be built from the submodule. And your real problem 
seems to be this:

/--
/opt/android/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: 
not found
Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
Could not read qmake configuration file /opt/qt5.1/5.5/android_armv7/mkspecs/android-g++/qmake.conf.
--/

Meaning that qmake can't find the cross-compiler for building for Android.

Holger


More information about the GCompris-devel mailing list