From bf4fbaa905524b40aed1d1503481408825968e7f Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Sun, 25 Oct 2020 14:57:41 +0100 Subject: [PATCH] no QVector forward declaration - can't be done with Qt6, but as we have all what we need from qglobal.h ... --- src/common/QskRgbPalette.h | 4 ---- src/controls/QskControl.h | 4 ---- src/controls/QskFocusIndicator.h | 4 ---- src/controls/QskSkinlet.h | 4 ---- src/dialogs/QskDialogButtonBox.h | 4 ---- 5 files changed, 20 deletions(-) diff --git a/src/common/QskRgbPalette.h b/src/common/QskRgbPalette.h index 6cc12bbc..e5e25452 100644 --- a/src/common/QskRgbPalette.h +++ b/src/common/QskRgbPalette.h @@ -12,10 +12,6 @@ class QskGradientStop; -#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) - template< typename T > class QVector; -#endif - class QSK_EXPORT QskRgbPalette { Q_GADGET diff --git a/src/controls/QskControl.h b/src/controls/QskControl.h index 713ecc00..5bfa2ef2 100644 --- a/src/controls/QskControl.h +++ b/src/controls/QskControl.h @@ -18,10 +18,6 @@ class QskControlPrivate; class QskGestureEvent; -#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) - template< typename T > class QVector; -#endif - class QSK_EXPORT QskControl : public QskQuickItem, public QskSkinnable { Q_OBJECT diff --git a/src/controls/QskFocusIndicator.h b/src/controls/QskFocusIndicator.h index 0b0aae59..037fc7ed 100644 --- a/src/controls/QskFocusIndicator.h +++ b/src/controls/QskFocusIndicator.h @@ -8,10 +8,6 @@ #include "QskControl.h" -#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) - template< typename T > class QVector; -#endif - class QSK_EXPORT QskFocusIndicator : public QskControl { Q_OBJECT diff --git a/src/controls/QskSkinlet.h b/src/controls/QskSkinlet.h index f4f82900..b0212a6a 100644 --- a/src/controls/QskSkinlet.h +++ b/src/controls/QskSkinlet.h @@ -27,10 +27,6 @@ class QRectF; class QRect; class QSize; -#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) - template< typename T > class QVector; -#endif - class QSK_EXPORT QskSkinlet { Q_GADGET diff --git a/src/dialogs/QskDialogButtonBox.h b/src/dialogs/QskDialogButtonBox.h index c6ebb95e..588560ce 100644 --- a/src/dialogs/QskDialogButtonBox.h +++ b/src/dialogs/QskDialogButtonBox.h @@ -11,10 +11,6 @@ class QskPushButton; -#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) - template< typename T > class QVector; -#endif - class QSK_EXPORT QskDialogButtonBox : public QskBox { Q_OBJECT