Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Specify the program to run by default in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Specify the program to run by default in Qt Creator

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 695 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lolo67
    wrote on last edited by Eddy
    #1

    I do have a Qt Creator that ends up building several executables. I would like to know if there is a way in the .pro file to specify the default program that should be run the very first time a .pro.user file is created (i.e. to influence the value XX in the .pro.user file line <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">XX</value>)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIK, no. One thing you could try is to create a shared .pro.user file (.pro.shared) like described here that contains your project specific stuff you want.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • hungerH Offline
        hungerH Offline
        hunger
        wrote on last edited by
        #3

        The .shared file will not work for other people: The build settings use Qt Creator instance specific IDs, which will not be found on other instances. So this will not work reliably:-/

        Not reliably as none of the kits you have created yourself will work, but those that you got pre-configured by the Qt SDK will (they get created with the same IDs in all installations;-).

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved