Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12084

Doesn't reset android NDK path after changing them

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 3.0.0
    • Android Support
    • None

    Description

      Installed Qt 5.3 Beta that includes Qt Creator 3.0.82.

      Set JDK, SDK, NDK, ANT dirs. Created 2 AVDs.

      Opened animatedtiles sample project. Selected also Android kit.

      Compiled and run flawlessy with Desktop Qt.

      Switch to Android -> debug. Try to compile but incompatible devices, solved added ANDROID_TARGET_ARCH=default/armeabi-v7a

      Trying to compile again. Error that it can't find bits/c++config.h. I read that sometimes it is due to a SDK/NDK path too long.

      So I renamed dir in the file system shortening them.

      Then I went to the Tools->Options->Android and set the new paths.

      Trying to compile I get
      No rule to make target ..\..\......\OLD ANDROID NDK DIR\sources\cxx-stl\....

      So it seems that somewhere it was not able to update the changed dir.

      Tried to Build->Clean but the only way was to Build->run qmake

      After this, I got the previous error:
      bits/c++config.h no such file or directory utility

      I must say that I was able to compile and run this sample on another workstation with Qt 5.2.1

      So 2 things:

      • example doesn't compile
      • Qt Creator should run qmake when android dirs change...

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dt Daniel Teske
            fp615 francesco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes