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

Broken Run configuration for Baremetal devices

    XMLWordPrintable

Details

    • 6d8eaad2812ff7ef9acfd4d0fe959b0d221ad047 et al

    Description

      Project type: Imported project based on Makefile
      Run configuration: Baremetal device (OpenOCD-based)

      In QtCreator-4.4.1 all works OK, but starting from 4.5.0 and above there are some problems:

      1) When in Project => Build & Run baremetal-based kit is activated, there is a message in terminal:
      No deployment configuration factory found for target id '

      {58f976f4-f841-410f-a9e4-12cdb54f10fb}

      '.
      SOFT ASSERT: "rc->id() == id" in file /work/build/qt-creator/src/plugins/projectexplorer/target.cpp, line 603

      2) In Run configuration one with type 'Custom Executable' is visible, instead of 'Custom Executable (on GDB server or hardware debugger)', and that is wrong.

      3) When attempted to add new 'Custom Executable (on GDB server or hardware debugger)' run configuration, there is a message appears:
      SOFT ASSERT: "newRC->id() == id" in file /work/build/qt-creator/src/plugins/projectexplorer/runsettingspropertiespage.cpp, line 252
      QLayout: Attempting to add QLayout "" to BareMetal::Internal::BareMetalCustomRunConfigWidget "", which already has a layout

      4) New configuration has empty name, that is wrong. After closing project and opening it again this configuration disappears from the list (even if renamed before).

      Analysis of <project>.creator.user file shows, that new configuration has:
      a) empty "ProjectExplorer.ProjectConfiguration.DefaultDisplayName" value
      b) empty "ProjectExplorer.ProjectConfiguration.Id" value

      If "ProjectExplorer.ProjectConfiguration.Id" in <project>.creator.user file manually set up to "BareMetal.CustomRunConfig", the configuration works OK after reopening the project

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              wiselord Uladzimir Bely
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes