Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-430

Using ~ as home dir for QtBuild fails

XMLWordPrintable

    • Android, macOS

      When using a ~ as home directory with QtBuild

       

      QtBuild {
          qtPath = file("~/Qt/6.9.1")
          ...
      } 

      You get an error

       

      Execution failed for task ':app:QtBuildTask'.
      > No Qt for Android kit found from: /Users/assam/Workspace/projects/Transformer/app/~/Qt/6.9.1 

      It seems we're treating those files as relative paths regardless if they are really relative or not.

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

            nikunj Nikunj Arora
            assam Assam Boudjelthia
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes