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

Double-slashes in Android SDK path messes up compiler detection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: Qt Creator 5.0.0-beta1
    • Fix Version/s: Qt Creator 5.0.0
    • Component/s: Android Support
    • Labels:
      None
    • Platform/s:
      Android
    • Commits:
      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

            Assignee:
            portale Alessandro Portale
            Reporter:
            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