<QtDarwinHelpers>

Darwinベースのオペレーティングシステム専用のヘルパーマクロ。詳細...

Header: #include <QtDarwinHelpers>

マクロ

詳細な説明

マクロのドキュメント

Q_FORWARD_DECLARE_CF_TYPE(type)

Core Foundationのtype を事前宣言します。これには、実際の型と参照型が含まれます。たとえば、Q_FORWARD_DECLARE_CF_TYPE(CFString)は、__CFStringとCFStringRefを宣言します。

Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)

Core Foundationの可変型type を事前宣言します。これには、実際の型と参照型が含まれます。たとえば、Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString)は、__CFMutableStringおよびCFMutableStringRefを宣言します。

Q_FORWARD_DECLARE_OBJC_CLASS(classname)

Objective-Cのclassname を、Objective-CまたはC++のいずれとしてもコンパイルできるように事前宣言します。

これは主に、Objective-C および 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.