diff --git a/AdvancedDockingSystem/include/ads/ContainerWidget.h b/AdvancedDockingSystem/include/ads/ContainerWidget.h index f596f32..cb18624 100644 --- a/AdvancedDockingSystem/include/ads/ContainerWidget.h +++ b/AdvancedDockingSystem/include/ads/ContainerWidget.h @@ -2,6 +2,7 @@ #define ADS_CONTAINERWIDGET_H #include +#include #include #include class QPoint; @@ -143,9 +144,7 @@ private: // Helper lookup maps, restricted to this container. QHash _scLookupMapById; QHash _scLookupMapByName; - QHash _swLookupMapById; - //QHash > _swLookupMapByContainer; // TODO Do we really need it? // Layout stuff diff --git a/AdvancedDockingSystem/include/ads/Internal.h b/AdvancedDockingSystem/include/ads/Internal.h index ccd996a..b97e838 100644 --- a/AdvancedDockingSystem/include/ads/Internal.h +++ b/AdvancedDockingSystem/include/ads/Internal.h @@ -6,6 +6,11 @@ #include "ads/API.h" +#if QT_VERSION >= 0x050000 +#else +#include "ads/SectionContent.h" +#endif + #define SCLookupMapById(X) X->_scLookupMapById #define SCLookupMapByName(X) X->_scLookupMapByName #define SWLookupMapById(X) X->_swLookupMapById