The cmake plugin creates multiple run configs

Bug #1312090 reported by David Planella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu (Ubuntu)
Confirmed
Medium
Benjamin Zeller

Bug Description

When opening a CMake project and selecting a kit, I've noticed that two run configs are created.

For developers, that's a bit of a confusing experience, as there is no indication as to which one to use. I would recommend to create only one that is specific to the Ubuntu cmake plugin.

I realise this is not trivial, but something it might be worth considering to provide a smooth developer experience. Here is an extract of the IRC conversation with zbenjamin about this subject:

<zbenjamin> dpm: every plugin in QtC can create its own runconfig, i can not interfere with that sadly :/
<dpm> zbenjamin, what does that mean? That one of the runconfigs is not valid? Which one should I use?
<zbenjamin> dpm: yes, thats the case, the problem is that cmakeplugin will automatically create a runconfig if the project creates a executable and the connected device is a linux device
<zbenjamin> dpm: the problem is first if i make cmakeplugin stop to create runconfigs it will break other projects taht use RemoteLinux devices but not our plugin
 dpm: cmakeplugin has no knowledge if a project is a ubuntu project or not
<zbenjamin> dpm: which one to choose is harder, maybe i should prefix it with ubuntu-<runconfigname>
<dpm> zbenjamin, rather than adding the prefix, is there a way to automatically select the right config?
<zbenjamin> dpm: i could use some trickery i gues

Tags: avengers
Changed in qtcreator-plugin-ubuntu:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → zbenjamin (zeller-benjamin)
David Planella (dpm)
tags: added: avengers
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu (Ubuntu):
assignee: nobody → Benjamin Zeller (zeller-benjamin)
importance: Undecided → Medium
status: New → Confirmed
Zoltan Balogh (bzoltan)
no longer affects: qtcreator-plugin-ubuntu
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.