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

Qt doesn't compile with QT_NO_DEBUG_OUTPUT and QT_NO_WARNING_OUTPUT defined

    XMLWordPrintable

Details

    Description

      The documentation suggests to set those defines to make qDebug and qWarning not do anything:

      http://doc.trolltech.com/4.3/qtglobal.html#qDebug
      http://doc.trolltech.com/4.3/qtglobal.html#qWarning
      http://doc.trolltech.com/4.3/debug.html

      However, adding those defines to release.prf to make a release build of Qt not print any errors does not compile.

      Attachments

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

        Activity

          People

            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes