diff --git a/retroshare-gui/src/gui/elastic/node.h b/retroshare-gui/src/gui/elastic/node.h index 79abd89fd..9b40b4177 100644 --- a/retroshare-gui/src/gui/elastic/node.h +++ b/retroshare-gui/src/gui/elastic/node.h @@ -42,7 +42,12 @@ #ifndef NODE_H #define NODE_H +#include +#if QT_VERSION >= 0x040600 #include +#else +#include +#endif #include #include "graphwidget.h" @@ -52,7 +57,11 @@ QT_BEGIN_NAMESPACE class QGraphicsSceneMouseEvent; QT_END_NAMESPACE +#if QT_VERSION >= 0x040600 class Node : public QGraphicsObject +#else +class Node : public QObject, public QGraphicsItem +#endif { Q_OBJECT