|CMake:|| find_package(Qt6 COMPONENTS Core REQUIRED) |
target_link_libraries(mytarget PRIVATE Qt6::Core)
|qmake:||QT += core|
Saves the settings used by QDebug, and restores them upon destruction, then calls maybeSpace(), to separate arguments with a space if autoInsertSpaces() was true at the time of constructing the QDebugStateSaver.
The automatic insertion of spaces between writes is one of the settings that QDebugStateSaver stores for the duration of the current block.
Member Function Documentation
Creates a QDebugStateSaver instance, which saves the settings currently used by dbg.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.