Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to encode Creator run settings in cmake preset?
Qt 6.11 is out! See what's new in the release blog

How to encode Creator run settings in cmake preset?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 53 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.
  • A Offline
    A Offline
    Asperamanca
    wrote last edited by
    #1

    Hi there,

    every time I need to reload my cmake presets, all the run settings for my many applications are gone - mainly start folder and command line arguments.
    Since they are overwritten by loading a preset - how does one encode the run settings in my CMakeUserPresets.json, so I have them again immediately after reloading the presets?

    cristian-adamC 1 Reply Last reply
    0
    • A Asperamanca

      Hi there,

      every time I need to reload my cmake presets, all the run settings for my many applications are gone - mainly start folder and command line arguments.
      Since they are overwritten by loading a preset - how does one encode the run settings in my CMakeUserPresets.json, so I have them again immediately after reloading the presets?

      cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote last edited by
      #2

      @Asperamanca the way one would implement this in CMake Presets would be via the "vendor" extension.

      Qt Creator 20 has now runEnvironment support. But for start folder and command line arguments there is no support.

      Please open a feature request / bug report at https://qt-project.atlassian.net/secure/CreateIssue.jspa?pid=10234

      1 Reply Last reply
      0

      • Login

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