<QtPreprocessorSupport> Proxy Page

Macros

QT_STRINGIFY(arg)
Q_UNUSED(name)

Macro Documentation

QT_STRINGIFY(arg)

The macro can be used to turn the builtin line expander arg into a string literal.

Q_UNUSED(name)

Indicates to the compiler that the parameter with the specified name is not used in the body of a function. This can be used to suppress compiler warnings while allowing functions to be defined with meaningful parameter names in their signatures.

© 2024 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.