Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Is there a way to change QtCreator window title based on run configurations?



  • Hello!

    I need to run multiple instances of QtCreator with different run settings. Is there a way to label the title of the Qt Creator windows based on the name of the run configuration, to be able to tell the creator instances apart more easily?

    Currently the QtCreator window title is changed to the file that is actively open in the editor. It would be very useful if this could change to the run configuration name.


  • Lifetime Qt Champion

    @Mike-Fidel

    Hello!

    Hi!

    I need to run multiple instances of QtCreator with different run settings. Is there a way to label the title of the Qt Creator windows based on the name of the run configuration, to be able to tell the creator instances apart more easily?

    You mean, you have open the same project open in multiple Creator instances and run different executables from them?

    Currently the QtCreator window title is changed to the file that is actively open in the editor. It would be very useful if this could change to the run configuration name.

    I don't think this is possible at the moment (without editing Creators source code). I think it could be done in a generic way as we have variables for a lot of internal things, but honestly you're the first one I'm aware of asking for that.

    One problem with a generic implementation could be, that the title must be updated whenever the variable changes. I'm not sure this is easily possible.



  • @aha_1980 said in Is there a way to change QtCreator window title based on run configurations?:

    You mean, you have open the same project open in multiple Creator instances and run different executables from them?

    Yes. This is exactly what I mean. I want to be able to tell the creator instances apart by the window title(Or by some other way, other than going to the project settings and looking what run configuration is enabled.


  • Lifetime Qt Champion

    Hi @Mike-Fidel,

    as said, there is nothing ready for now. You can modify Creator yourself or file a suggestion at bugreports.qt.io (please provide a link here). But don't expect it to get high priority.

    Regards


  • Lifetime Qt Champion

    Hi
    If you have multiple Creators running, you could change the theme in one of them
    So you have one light and one dark. or flat and classic or whatever suits your taste.



  • @mrjj Thanks! What I'm doing now is open a different file in each one of them, so that the title of each one is different.


Log in to reply