diff --git a/src/AutoHideDockContainer.h b/src/AutoHideDockContainer.h index a483e68..2fdce37 100644 --- a/src/AutoHideDockContainer.h +++ b/src/AutoHideDockContainer.h @@ -34,7 +34,7 @@ #include #include "AutoHideTab.h" -class QXmlStreamWriter; +QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter) namespace ads { diff --git a/src/AutoHideSideBar.h b/src/AutoHideSideBar.h index a7e4835..3505682 100644 --- a/src/AutoHideSideBar.h +++ b/src/AutoHideSideBar.h @@ -33,7 +33,7 @@ #include "ads_globals.h" #include "AutoHideTab.h" -class QXmlStreamWriter; +QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter) namespace ads {