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. Qt Creator fails to build Android library due to back slashes in NDK path
QtWS25 Last Chance

Qt Creator fails to build Android library due to back slashes in NDK path

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 464 Views
  • 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.
  • A Offline
    A Offline
    alexey.petrenko
    wrote on 22 Dec 2015, 10:07 last edited by
    #1

    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-r10e while 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

    1 Reply Last reply
    0

    1/1

    22 Dec 2015, 10:07

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved