fix: opaque-pointer declarations need qmetatype include and single ownership
The scripted Q_DECLARE_OPAQUE_POINTER sweep missed the QtCore/qmetatype.h include (cascade of stdlib errors) and declared a few types in two headers (redefinition of IsPointerDeclaredOpaque). Include qmetatype.h everywhere and declare each handle in exactly one header.
This commit is contained in:
@@ -2087,9 +2087,6 @@ oakengine_node_get_video_frame_cache(const OakEngineNode *self);
|
||||
Q_DECLARE_OPAQUE_POINTER(OakEngineNode *)
|
||||
Q_DECLARE_OPAQUE_POINTER(OakEngineKeyframe *)
|
||||
Q_DECLARE_OPAQUE_POINTER(OakEngineNodeDragger *)
|
||||
Q_DECLARE_OPAQUE_POINTER(OakEngineFrameCache *)
|
||||
Q_DECLARE_OPAQUE_POINTER(OakEngineThumbnailCache *)
|
||||
Q_DECLARE_OPAQUE_POINTER(OakEngineWaveformCache *)
|
||||
#endif
|
||||
|
||||
#endif /* OAKENGINE_NODE_H */
|
||||
|
||||
Reference in New Issue
Block a user