forked from qt-creator/qt-creator
OS X: Welcome/QQuickWidget fixes
The rendered text is still ugly, but the fuzzy text is better than the alternative currently. Change-Id: Id9e54fb406ee964e0b9b5c40b7a8108b45c15f85 Task-number: QTBUG-42861 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -155,7 +155,6 @@ WelcomeMode::WelcomeMode()
|
||||
#endif // USE_QUICK_WIDGET
|
||||
|
||||
connect(PluginManager::instance(), SIGNAL(objectAdded(QObject*)), SLOT(welcomePluginAdded(QObject*)));
|
||||
|
||||
setWidget(m_modeWidget);
|
||||
}
|
||||
|
||||
@@ -260,6 +259,13 @@ void WelcomeMode::initPlugins()
|
||||
connect(Core::ICore::instance(), &Core::ICore::themeChanged, this, &WelcomeMode::onThemeChanged);
|
||||
ctx->setContextProperty(QLatin1String("creatorTheme"), &m_themeProperties);
|
||||
|
||||
#if defined(USE_QUICK_WIDGET)
|
||||
bool useNativeText = !Utils::HostOsInfo::isMacHost();
|
||||
#else
|
||||
bool useNativeText = true;
|
||||
#endif
|
||||
ctx->setContextProperty(QLatin1String("useNativeText"), useNativeText);
|
||||
|
||||
QString path = resourcePath() + QLatin1String("/welcomescreen/welcomescreen.qml");
|
||||
|
||||
// finally, load the root page
|
||||
|
||||
Reference in New Issue
Block a user