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

Creator misinterprets #ifndef QT_NO_QOBJECT

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes