Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2736

should warn about identical DESTDIR/TARGET for debug_and_release builds

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 4.4.1
    • Fix Version/s: 5.14.0 Alpha
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Commits:
      e75aed1a96e626f079af307c5604ddf9054ecafc (qt/qtbase/dev)

      Description

      Even if set to debug, prl files are always in "release mode" when DESTDIR is used.

      Example Code:

      test.pro
      TEMPLATE = lib 
      CONFIG += debug staticlib create_prl 
      TARGET = x 
      SOURCES += x.cpp 
      DESTDIR = out 
      
      x.cpp
      int x() { return 1; } 
      

      run these commands:

      qmake 
      nmake
      

      out/x.prl is in "release mode", for example QMAKE_PRL_LIBS contains release libs (QtCore.lib, etc) when it should be in "debug mode".

        Attachments

        For Gerrit Dashboard: QTBUG-2736
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            xcm Martin Petersson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes