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. qmake CONFIG variable with release and debug

qmake CONFIG variable with release and debug

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 369 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.
  • T Offline
    T Offline
    ThisIsEusch
    wrote on last edited by
    #1

    I want to create both debug and release version of libraries. If I switch between debug and release version using the selector at the bottom right of the qtcreator screen, the CONFIG variable always contains both debug and release. According to the documentation the latter of the two takes effect. How can I create a different output directory (DESTDIR) for the release and debug builds?

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

      Hi,

      Which version of Qt Creator ?
      On which OS ?
      Which version of Qt ?

      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
      • T Offline
        T Offline
        ThisIsEusch
        wrote on last edited by
        #3

        Qt creator 4.14.0 (community), Windows 7 and 10, QT 5.12.2

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

          When using Qt Creator with shadow build enabled, these folders are created automatically for you.

          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

          • Login

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