diff --git a/src/controls/QskItemPrivate.cpp b/src/controls/QskItemPrivate.cpp index 5ff79737..514bf512 100644 --- a/src/controls/QskItemPrivate.cpp +++ b/src/controls/QskItemPrivate.cpp @@ -23,7 +23,9 @@ QskItemPrivate::QskItemPrivate() , clearPreviousNodes( false ) , initiallyPainted( false ) , wheelEnabled( false ) +#if QT_VERSION < QT_VERSION_CHECK( 6, 7, 0 ) , focusPolicy( Qt::NoFocus ) +#endif { if ( updateFlags & QskItem::DeferredLayout ) { diff --git a/src/controls/QskItemPrivate.h b/src/controls/QskItemPrivate.h index f7a8d29e..b210d4e3 100644 --- a/src/controls/QskItemPrivate.h +++ b/src/controls/QskItemPrivate.h @@ -61,7 +61,9 @@ class QskItemPrivate : public QQuickItemPrivate bool initiallyPainted : 1; bool wheelEnabled : 1; +#if QT_VERSION < QT_VERSION_CHECK( 6, 7, 0 ) uint focusPolicy : 4; +#endif }; #endif