diff --git a/private/applethandle_p.h b/private/applethandle_p.h index 67b947f40..63a450da3 100644 --- a/private/applethandle_p.h +++ b/private/applethandle_p.h @@ -39,6 +39,9 @@ class View; class AppletHandle : public QObject, public QGraphicsItem { Q_OBJECT +#if QT_VERSION >= 0x040600 + Q_INTERFACES(QGraphicsItem) +#endif public: enum FadeType { FadeIn, diff --git a/private/toolbox_p.h b/private/toolbox_p.h index cd33add82..b5d4cd2ac 100644 --- a/private/toolbox_p.h +++ b/private/toolbox_p.h @@ -40,7 +40,9 @@ class ToolBoxPrivate; class ToolBox : public QObject, public QGraphicsItem { Q_OBJECT - +#if QT_VERSION >= 0x040600 + Q_INTERFACES(QGraphicsItem) +#endif public: /** * These flags represents what borders should be drawn