[libcalamaresui] prefer < comparison of Qt versions
This commit is contained in:
parent
fd2610c739
commit
7d7a4597c1
@ -111,10 +111,10 @@ private:
|
||||
QWidget* m_widget = nullptr;
|
||||
WaitingWidget* m_spinner = nullptr;
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK( 6, 0, 0 )
|
||||
QWidget* m_qmlWidget = nullptr; // Qt6: container for QQuickWindow
|
||||
#else
|
||||
#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
|
||||
QQuickWidget* m_qmlWidget = nullptr;
|
||||
#else
|
||||
QWidget* m_qmlWidget = nullptr; // Qt6: container for QQuickWindow
|
||||
#endif
|
||||
|
||||
QQmlEngine* m_qmlEngine = nullptr; // Qt5: points to QuickWidget engine, Qt6: separate engine
|
||||
|
Loading…
Reference in New Issue
Block a user