<QtPreprocessorSupport>
Präprozessorspezifische Makros. Mehr...
| Header: | #include <QtPreprocessorSupport> |
Makros
| QT_STRINGIFY(arg) | |
| Q_UNUSED(name) |
Makro-Dokumentation
QT_STRINGIFY(arg)
Mit diesem Makro lässt sich der integrierte Zeilenerweiterungsbefehl „ arg “ in ein Zeichenfolgenliteral umwandeln.
Q_UNUSED(name)
Weist den Compiler darauf hin, dass der Parameter mit dem angegebenen „ name “ im Funktionskörper nicht verwendet wird. Dies kann genutzt werden, um Compiler-Warnungen zu unterdrücken und gleichzeitig zu ermöglichen, dass Funktionen mit aussagekräftigen Parameternamen in ihren Signaturen definiert werden.
© 2026 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.