<QtPreprocessorSupport>

プリプロセッサ固有のマクロ。詳細...

Header: #include <QtPreprocessorSupport>

マクロ

QT_STRINGIFY(arg)
Q_UNUSED(name)

詳細な説明

マクロのドキュメント

QT_STRINGIFY(arg)

このマクロを使用すると、組み込みの行展開関数 `arg ` を文字列リテラルに変換することができます。

Q_UNUSED(name)

指定されたname を持つパラメータが関数の本体で使用されていないことをコンパイラに示します。これにより、関数のシグネチャに意味のあるパラメータ名を定義しつつ、コンパイラの警告を抑制することができます。

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