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

C++ code model gets confused when putting static before a Q_LOGGING_CATEGORY macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • Qt Creator 14.0.0
    • Qt Creator 3.3.0-rc1, Qt Creator 3.3.1
    • C/C++/Obj-C++ Support
    • None

    Description

      static Q_LOGGING_CATEGORY(log, "bla.log")
      confuses the following namespace bla
      (wrong indent, namespace not "seen",...).
      See the attached files.

      Attachments

        1. namespacebug.h
          0.2 kB
        2. namespacebug.cpp
          0.2 kB
        For Gerrit Dashboard: QTCREATORBUG-13640
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            fawzi Fawzi Mohamed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes