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:
@@ -440,6 +440,7 @@ OAKENGINE_API int oakengine_waveform_cache_get_summary(
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#include <QtCore/qmetatype.h>
|
||||
Q_DECLARE_OPAQUE_POINTER(OakEnginePlaybackCache *)
|
||||
Q_DECLARE_OPAQUE_POINTER(OakEngineFrameCache *)
|
||||
Q_DECLARE_OPAQUE_POINTER(OakEngineThumbnailCache *)
|
||||
|
||||
Reference in New Issue
Block a user