Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.5.0, Qt Creator 4.7.0-beta1
-
None
-
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 '
'.
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
- relates to
-
QTCREATORBUG-18434 [BareMetal] Run configuration broken in master
- Closed
-
QTCREATORBUG-20094 BareMetal can't create Run config for GDB executable
- Closed