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

"current executable" target generates wrong string

    XMLWordPrintable

Details

    • Windows

    Description

      The new beta version seems to have problems to translate the "current executable" into the proper string to be given to CMake.

      Status:

      • The project is properly configured: using either the terminal or QtCreator.
      • The list of targets is properly populated in QtCreator/Projects/Build Settings/Build Steps/Targets
      • If I choose a specific target and I compile, it works as expected:
        Build:  cmake.exe --build . --target api
        # After clicking in build 
        15:51:54: Starting: "C:\Program Files\CMake\bin\cmake.exe" --build . --target api
        ... OK
        
      • If I choose "Current executable", this happens:
        Build:  cmake.exe --build . --target "<Current executable>"
        15:53:59: Starting: "C:\Program Files\CMake\bin\cmake.exe" --build . --target C:/dev/explore/export_api/tests///::///testExport
        ninja: error: unknown target 'C:/dev/explore/export_api/tests/::/testExport'
        

      Note that this was working properly in QtCreator 4.9.

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            piponazo Luis Díaz Más
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes