<QtPreprocessorSupport>
Macro specifiche del preprocessore. Altro...
| Header: | #include <QtPreprocessorSupport> |
Macro
| QT_STRINGIFY(arg) | |
| Q_UNUSED(name) |
Documentazione sulle macro
QT_STRINGIFY(arg)
La macro può essere utilizzata per trasformare l'espansore di riga integrato arg in una stringa letterale.
Q_UNUSED(name)
Indica al compilatore che il parametro con l'name e specificata non viene utilizzato nel corpo di una funzione. Questa opzione può essere utilizzata per sopprimere gli avvisi del compilatore, consentendo al contempo di definire funzioni con nomi di parametri significativi nelle loro firme.
© 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.