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. Build-dependent "run" environment in Qt Creator?
Forum Updated to NodeBB v4.3 + New Features

Build-dependent "run" environment in Qt Creator?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 246 Views
  • 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.
  • B Offline
    B Offline
    Bob64
    wrote on last edited by
    #1

    If I select "Projects" on the LHS of Qt Creator, I can set various "Build and Run" settings. I often use this to set a few runtime environment variables for the project. In the deployed application these would typically be set in some higher level launch script, but setting them in Qt Creator allows me to run and possibly debug the application conveniently during development.

    However, whereas the "Build" settings can be per project configuration (Release, Debug, etc.), the "Run" settings seem to be applied to all configurations. There have been times where I have wanted, for example, to set different environment variables in Release and Debug builds.

    I wondered whether I might be missing some way of doing this.

    cristian-adamC 1 Reply Last reply
    0
    • B Bob64

      If I select "Projects" on the LHS of Qt Creator, I can set various "Build and Run" settings. I often use this to set a few runtime environment variables for the project. In the deployed application these would typically be set in some higher level launch script, but setting them in Qt Creator allows me to run and possibly debug the application conveniently during development.

      However, whereas the "Build" settings can be per project configuration (Release, Debug, etc.), the "Run" settings seem to be applied to all configurations. There have been times where I have wanted, for example, to set different environment variables in Release and Debug builds.

      I wondered whether I might be missing some way of doing this.

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

      I don't think we have this functionality, please do create a feature request at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512

      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