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

Bad error messages when misconfiguring QtGP through gradle.properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • QtGP 1.3
    • QtGP: General
    • None
    • Android

    Description

      Steps to reproduce:

      1. Remove QtBuild block from build.gradle(.kts)
      2. Set qt.kitDir or qt.path or qt.projectPath to nonexisting location in gradle.properties

      If setting qt.path to nonexisting location:

      * What went wrong:
      Execution failed for task ':app:QtBuildTask'.
      > No Qt for Android kit found from:
      
      

       

      If setting qt.kitDir to nonexisting location the value is just ignored silently.

       

      If setting qt.projectPath to nonexisting location:

      * What went wrong:
      A problem occurred configuring project ':app'.
      > Could not create task ':app:QtBuildTask'.
         > Cannot cast object '' with class 'java.lang.String' to class 'java.io.File'
      

      Attachments

        Issue Links

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

          Activity

            People

              nikunj Nikunj Arora
              olvuolte Olli Vuolteenaho
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes