mirror of https://github.com/KDE/kasts.git
Android style changes
- Remove qtquickcontrols2.conf - Use glyph cache workaround only on non-Android
This commit is contained in:
parent
e45dd71c83
commit
bc658bcbe2
|
@ -65,10 +65,6 @@ Q_DECL_EXPORT
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
if (QSysInfo::currentCpuArchitecture().contains(QStringLiteral("arm")) && qEnvironmentVariableIsEmpty("QT_ENABLE_GLYPH_CACHE_WORKAROUND")) {
|
||||
qputenv("QT_ENABLE_GLYPH_CACHE_WORKAROUND", "1");
|
||||
}
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
|
@ -84,6 +80,10 @@ int main(int argc, char *argv[])
|
|||
if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) {
|
||||
QQuickStyle::setStyle(QStringLiteral("org.kde.desktop"));
|
||||
}
|
||||
|
||||
if (QSysInfo::currentCpuArchitecture().contains(QStringLiteral("arm")) && qEnvironmentVariableIsEmpty("QT_ENABLE_GLYPH_CACHE_WORKAROUND")) {
|
||||
qputenv("QT_ENABLE_GLYPH_CACHE_WORKAROUND", "1");
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_WINDOWS
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[Material]
|
||||
Primary=Blue
|
||||
Accent=Blue
|
||||
Theme=System
|
||||
>
|
|
@ -44,7 +44,6 @@
|
|||
<file alias="GlobalSearchField.qml">qml/GlobalSearchField.qml</file>
|
||||
<file alias="SearchFilterBar.qml">qml/SearchFilterBar.qml</file>
|
||||
<file alias="FilterInlineMessage.qml">qml/FilterInlineMessage.qml</file>
|
||||
<file>qtquickcontrols2.conf</file>
|
||||
<file alias="logo.svg">../kasts.svg</file>
|
||||
<file alias="kasts-tray-light.svg">../icons/kasts-tray-light.svg</file>
|
||||
<file alias="kasts-tray-dark.svg">../icons/kasts-tray-dark.svg</file>
|
||||
|
|
Loading…
Reference in New Issue