Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Qt Creator Clang Code Model: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 3: | Line 3: | ||
== Debugging == | == Debugging == | ||
[http://doc.qt.io/qt-5/qloggingcategory.html QLoggingCategory] is used for debugging output. | [http://doc.qt.io/qt-5/qloggingcategory.html QLoggingCategory] is used for debugging output. With the following invocation debugging output will be generated: | ||
Linux/Mac: | Linux/Mac: | ||
$ QT_LOGGING_CONF= | $ QT_LOGGING_CONF=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= | $ set QT_LOGGING_CONF=qtc.clang*=true | ||
$ qtcreator.exe | $ qtcreator.exe | ||
Revision as of 10:01, 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_CONF=qtc.clang*=true ./qtcreator
Windows (start DebugView in advance to see the output): $ set QT_LOGGING_CONF=qtc.clang*=true $ qtcreator.exe