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. QtCreator 2.5 doesn't remember CMake parameters (like debugging flag) between runs
Forum Updated to NodeBB v4.3 + New Features

QtCreator 2.5 doesn't remember CMake parameters (like debugging flag) between runs

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 4 Posters 3.8k 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.
  • D Offline
    D Offline
    dusktreader
    wrote on last edited by
    #1

    I'm simply setting up a project to have a release and debug buld. I have everything working perfectly, but in order to build the project with debugging flags enabled, I have to add the cmake debugging flag (-DCMAKE_BUILD_TYPE=Debug). The only way that I can figure out to have this parameter passed to cmake is to add it as an additional argument. Unfortunately QtCreator doesn't remember the arguments for a given build configuration, so I have to add this in every single time I run cmake. Am I doing this wrong? Is there a way to add this as part of the build configuration so that I don't have to retype the parameter every time?

    “Machines take me by surprise with great frequency.” -- Alan Mathison Turing

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lcasassa
      wrote on last edited by
      #2

      I was looking for a fix for this. Any updates?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        balucio
        wrote on last edited by
        #3

        Hello,
        I have same problems.

        I try to compile log4cpp using QTCreator, in debug and release mode, but whenever I need to run cmake, I should remember to pass
        -DCMAKE_BUILD_TYPE=Debug

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lcasassa
          wrote on last edited by
          #4

          if you right click on the project, you can click on "Run CMake". It does conserve the parameters :)

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gboulard
            wrote on last edited by
            #5

            Up!
            any solutions for this ?
            could'nt find a way to do it yet..

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gboulard
              wrote on last edited by
              #6

              Up!
              any solutions for this ?
              could'nt find a way to do it yet..

              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