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

Building a project with target set to 'Current executable' fails

    XMLWordPrintable

Details

    • Linux/X11

    Description

      If I set the targets to "Current executable" in the build steps, building fails like this:

      15:29:29: Running steps for project BAPGui...
      15:29:29: Starting: "/usr/bin/cmake" --build . --target 'bap-gui
      /home/florian/sources/bap-gui/'
      ninja: error: unknown target 'bap-gui
      /home/florian/sources/bap-gui'
      15:29:29: The process "/usr/bin/cmake" exited with code 1.
      Error while building/deploying project BAPGui (kit: Desktop Qt 5.11.1 GCC 64bit)
      When executing step "CMake Build"
      15:29:29: Elapsed time: 00:00.
      

      As you can see I am using cmake and ninja; their versions are as follows:

      ➜  ~ cmake --version
      cmake version 3.11.2
      
      CMake suite maintained and supported by Kitware (kitware.com/cmake).
      ➜  ~ ninja --version
      1.8.2
      

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            apollo13 Florian Apolloner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes