Qt Creator Clang Code Model: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
Line 6: Line 6:


  Linux/Mac:
  Linux/Mac:
  $ QT_LOGGING_CONF=qtc.clang*=true ./qtcreator
  $ QT_LOGGING_RULES=qtc.clang*=true ./qtcreator


  Windows (start [https://technet.microsoft.com/en-us/sysinternals/debugview.aspx DebugView] in advance to see the output):
  Windows (start [https://technet.microsoft.com/en-us/sysinternals/debugview.aspx DebugView] in advance to see the output):
  $ set QT_LOGGING_CONF=qtc.clang*=true
  $ set QT_LOGGING_RULES=qtc.clang*=true
  $ qtcreator.exe
  $ qtcreator.exe

Revision as of 10:04, 8 April 2016

Documentation: http://doc.qt.io/qtcreator/creator-clang-codemodel.html

Debugging

QLoggingCategory is used for debugging output. With the following invocation debugging output will be generated:

Linux/Mac:
$ QT_LOGGING_RULES=qtc.clang*=true ./qtcreator
Windows (start DebugView in advance to see the output):
$ set QT_LOGGING_RULES=qtc.clang*=true
$ qtcreator.exe