Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29941

Creator misinterprets #ifndef QT_NO_QOBJECT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • Qt Creator 11.0.3
    • C/C++/Obj-C++ Support
    • None
    • All

    Description

      While QT_NO_QOBJECT is not defined and code wrapped in #ifndef QT_NO_QOBJECT is compiled, Creator shows and interprets the code as if the preprocessor variable would have been defined.

      • code is shown grey/inactive
      • no syntax check available
      • F2 doesn't toggle between definition and implementation
      • Hovered variables' values are not shown during debugging

      Code is presented correctly to the debugger. It is possible to step through the code, while it is greyed out.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            axelspoerl Axel Spoerl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes