Q_DECLARE_METATYPE isn't needed for Qt6 QExplicitlySharedDataPointer
src/profile/Profile.h:815:1: error: specialization of ‘QMetaTypeId<QExplicitlySharedDataPointer<Konsole::Profile> >’ after instantiation 815 | Q_DECLARE_METATYPE(Konsole::Profile::Ptr) | ^~~~~~~~~~~~~~~~~~ src/profile/Profile.h:815:1: error: redefinition of ‘struct QMetaTypeId<QExplicitlySharedDataPointer<Konsole::Profile> >’ /usr/include/qt6/QtCore/qmetatype.h:1124:8: note: previous definition of ‘struct QMetaTypeId<QExplicitlySharedDataPointer<Konsole::Profile> >’ 1124 | struct QMetaTypeId : public QMetaTypeIdQObject<T>
parent
b534adb2
Please register or sign in to comment