Qt Creator 4.5.0/Qt 5.10.0 - Bare metal Plugin - unable to add "Custom Executable (on GDB server or hardware debugger)" Run Configuration
-
When I select the Run Configuration option "Custom Executable (on GDB server or hardware debugger)", it appears to add it, however, the run Play buttons remain greyed out. Also, if I close the project and open it again, the run configuration changes back, to "Custom Executable", and the Executable field is removed.
I have tried to remove my .creator.user file for the project and start again with no luck.
I have tried to remove all of Qt Creator's preferences and add the kits back and it doesn't work.
I have followed all the steps required;- Add the Bare Metal plugin
- Add an Open OCD bare metal GDB server provider
- Add a device with the Open OCD bare metal server provider
- Add arm-eabi-none-gdb-py debugger
- Add arm-eabi-none-gcc compiler
- Add arm-eabi-none-g++ compiler
- Add Kit with Bare metal device, debugger, compilers and no Qt
I've tried on Mac High Sierra, and have also tried on Ubuntu 16.04 and Windows 10 versions of Qt Creator 4.5.0.
I've had it working on a previous version of Qt Creator.Additional behavioural notes:
- When trying to add a "Custom Executable (on GDB server or hardware debugger)" Run Configuration, the text boxes don't offer "Insert Variable", auto-complete or auto-naming of the Run Configuration.
- The section added in the .creator.user file seems a little lighter than I recall, but I don't have any old ones to reference.
- The section gets removed automatically if I close, open and close the project.
- Are there any known issues with the Bare Metal plugin and Qt Creator 4.5.0?
- Is there an updated documentation section describing this with updated screenshots?
-
I was also having issues creating run configurations with Qt Creator 4.5 for Bare Metal devices. I found that a bug report had been submitted for the issue:
https://bugreports.qt.io/browse/QTCREATORBUG-19731As a temporary workaround, I am creating run configurations in Qt Creator 4.4, then using them in 4.5.
-
I was also having issues creating run configurations with Qt Creator 4.5 for Bare Metal devices. I found that a bug report had been submitted for the issue:
https://bugreports.qt.io/browse/QTCREATORBUG-19731As a temporary workaround, I am creating run configurations in Qt Creator 4.4, then using them in 4.5.