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

Double-slashes in Android SDK path messes up compiler detection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 5.0.0
    • Qt Creator 5.0.0-beta1
    • Android Support
    • None
    • Android
    • 99700bb00961da9515b9cabc09895aa50c2decae (qt-creator/qt-creator/5.0)

    Description

      I had "/Users/Shared//Android/sdk" set as my Android SDK path.
      Qt Creator 4.15 works fine with this.
      Qt Creator 5.0 claims that the Android Clang (C++) toolchains are invalid.

      Concretely AndroidToolChain::isValid returns false in 5.0 with this setup, because compilerCommand() and ndkLocation and sdkLocation have different numbers of slashes, so isChildofSdk & *Ndk are false

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes