forked from qt-creator/qt-creator
Use QQuickWidget in welcome mode when compiling with Qt 5.5 or later.
Several bugs were fixed in QQuickWidget, making it viable to use it by default with Qt 5.5. Change-Id: If31d2cfabf80d01b1588269a1fde96742621e995 Task-number: QTCREATORBUG-13440 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -215,7 +215,7 @@ void WelcomeMode::facilitateQml(QQmlEngine *engine)
|
||||
|
||||
ctx->setContextProperty(QLatin1String("creatorTheme"), &m_themeProperties);
|
||||
|
||||
#if defined(USE_QUICK_WIDGET)
|
||||
#if defined(USE_QUICK_WIDGET) && (QT_VERSION < QT_VERSION_CHECK(5, 5, 0))
|
||||
bool useNativeText = !HostOsInfo::isMacHost();
|
||||
#else
|
||||
bool useNativeText = true;
|
||||
|
||||
Reference in New Issue
Block a user