QSharedData Class▲
-
Header: QSharedData
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
-
qmake: QT += core
-
Inherited By: QDBusIntrospection::Interface and QDBusIntrospection::Object
Detailed Description▲
QSharedData is designed to be used with QSharedDataPointer or QExplicitlySharedDataPointer to implement custom implicitly shared or explicitly shared classes. QSharedData provides thread-safe reference counting.
See QSharedDataPointer and QExplicitlySharedDataPointer for details.