<QtDarwinHelpers>

Macros d'aide spécifiques aux systèmes d'exploitation basés sur Darwin. Plus...

Header: #include <QtDarwinHelpers>

Macros

Description détaillée

Documentation des macros

Q_FORWARD_DECLARE_CF_TYPE(type)

Forward-déclare un Core Foundation type. Cela inclut le type actuel et le type ref. Par exemple, Q_FORWARD_DECLARE_CF_TYPE(CFString) déclare __CFString et CFStringRef.

Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)

Forward-déclare un type mutable Core Foundation type. Cela inclut le type actuel et le type ref. Par exemple, Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString) déclare __CFMutableString et CFMutableStringRef.

Q_FORWARD_DECLARE_OBJC_CLASS(classname)

Forward-déclare un Objective-C classname de manière à ce qu'il puisse être compilé en Objective-C ou en C++.

Cette déclaration est principalement destinée à être utilisée dans les fichiers d'en-tête qui peuvent être inclus dans les fichiers source Objective-C et C++.

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