From 77c00fb727b98e3a7b6b2d8fe05f12a4a1ff856f Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 23 Oct 2020 13:44:29 +0200 Subject: [PATCH] no QVector forward declarations with Qt6 --- src/dialogs/QskDialogButtonBox.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dialogs/QskDialogButtonBox.h b/src/dialogs/QskDialogButtonBox.h index 0ec5cbb3..c6ebb95e 100644 --- a/src/dialogs/QskDialogButtonBox.h +++ b/src/dialogs/QskDialogButtonBox.h @@ -10,7 +10,10 @@ #include "QskDialog.h" class QskPushButton; -template< typename T > class QVector; + +#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) + template< typename T > class QVector; +#endif class QSK_EXPORT QskDialogButtonBox : public QskBox {