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

Qt Creator does not honor test/run launcher provided by cmake

    XMLWordPrintable

Details

    • Linux/Wayland, Linux/X11
    • 94663d0db (14.0)

    Description

      Cmake provides an option to use a special launcher program when testing executable files, e.g. for cross-compiled applications, to run them on the build host. When executing these tests within QtCreator (with the CTest Engine), the start program defined by cmake is also used. However, this does not apply to direct execution, which would be helpful in the context mentioned.

      This support may only be activated in the run configuration for cmake targets for which an emulator or test/run launcher has been defined by cmake; native executable targets are excluded from this and can be started normally.

      An emulator or test/run launcher will be provided by cmake via the fileapi, see https://gitlab.kitware.com/cmake/cmake/-/issues/25408. For older versions, the cmake variable CMAKE_CROSSCOMPILING_EMULATOR can be used as a fallback solution.

      Just as an additional line for an interpreter appears in Python projects, an additional line with the launcher can appear in the desktop run configuration in the cases described to display this support.

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            rhabacker Ralf Habacker
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes