Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Creator fails to build Android library due to back slashes in NDK path
alexey.petrenko last edited by
I am trying to build by C++ library for Android on Windows 8.1 using NDK android-ndk-r10e. The library builds totally fine on Linux, but I can't get it working on Windows.
I am always getting this error:
/usr/bin/sh: C:android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++: No such file or directory
As you can see, Qt Creator displays path to g++ as
C:android-ndk-r10ewhile it is actually
C:\android-ndk-r10e. I tried to manually edit Makefile, but it seems to re-create it every time, so my changes got discarded.
I this a known issue? How can I work around it?
(Qt version 5.4.2, Qt Creator 3.6.0)
Also asked this on SO: http://stackoverflow.com/questions/34413166/qt-creator-fails-to-build-android-library-due-to-back-slashes-in-ndk-path