6.0.0-rc4Source

QMetaTypeId Struct

template <typename T> struct QMetaTypeId

The QMetaTypeId class is the trait that Q_DECLARE_METATYPE() specializes. More…

Header#include <QtCore/qmetatype.h>
CMaketarget_link_libraries(app PRIVATE Nt::Core)
ModuleNt Core C++ Classes

List of all members, including inherited members

Detailed Description

Q_DECLARE_METATYPE(Type) specializes it for a type so that the type is registered under its own name the first time its id is needed. Defined is 1 for such a type and 0 for every other.

See also QMetaType.

Differences from Qt

None.