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

src/corelib/globa/qconfig.h requires QT_NO_DEBUG to be defined, behavior inconsistent from rest of Qt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.2
    • 4.7.0
    • Build tools: Other
    • None
    • Tested on Windows 7, presumably doesn't matter.
    • e449be1979d279066401c29771d60942bac5ff99, edb1e43f0ad7aece24929d95542490da7f88321f

    Description

      As of 4.7.0 beta 2, src/corelib/global/qconfig.h depends on QT_NO_DEBUG having a numerical value. This differs from the way QT_NO_DEBUG is used throughout the rest of Qt, where the check is to see if QT_NO_DEBUG is defined. These behaviors are incompatible with each other: if you wanted to enable debugging, qconfig.h would require you to "#define QT_NO_DEBUG 0", but then "#ifdef QT_NO_DEBUG" would return true - in other words, there would be no way to enable debugging.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            ver greeneyes Emanuel Hoogeveen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes