Changeset View
Changeset View
Standalone View
Standalone View
startkde/startplasma.cmake
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 41 | case "$ksplashrc_ksplash_engine" in | |||
---|---|---|---|---|---|
47 | *) | 47 | *) | ||
48 | ;; | 48 | ;; | ||
49 | esac | 49 | esac | ||
50 | fi | 50 | fi | ||
51 | 51 | | |||
52 | #Set the QtQuickControls style to our own: for QtQuickControls1 | 52 | #Set the QtQuickControls style to our own: for QtQuickControls1 | ||
53 | #it will fall back to Desktop, while it will use our own org.kde.desktop | 53 | #it will fall back to Desktop, while it will use our own org.kde.desktop | ||
54 | #for QtQuickControlsStyle and Kirigami | 54 | #for QtQuickControlsStyle and Kirigami | ||
55 | export QT_QUICK_CONTROLS_1_STYLE=Desktop | | |||
56 | export QT_QUICK_CONTROLS_STYLE=org.kde.desktop | 55 | export QT_QUICK_CONTROLS_STYLE=org.kde.desktop | ||
57 | 56 | | |||
57 | # For Qt Quick Controls 1, there is no style with that name, | ||||
58 | # so override that explicitly with the default style to avoid | ||||
59 | # a warning on startup. However, simply setting it to "Desktop" does | ||||
60 | # not work, as QQuickControlSettings1 somehow messes that up and uses | ||||
61 | # the parent directory as import path, resulting in the wrong style "Base" | ||||
62 | # being used instead of the right one. | ||||
63 | # We can work around that by supplying a relative path to a nonexistent | ||||
64 | # directory, as it only looks at the file name in the end anyway... | ||||
65 | export QT_QUICK_CONTROLS_1_STYLE=non/existent/dir/Desktop | ||||
66 | | ||||
58 | #In wayland we want Plasma to use Qt's scaling | 67 | #In wayland we want Plasma to use Qt's scaling | ||
59 | export PLASMA_USE_QT_SCALING=1 | 68 | export PLASMA_USE_QT_SCALING=1 | ||
60 | 69 | | |||
61 | # Activate the kde font directories. | 70 | # Activate the kde font directories. | ||
62 | # | 71 | # | ||
63 | # There are 4 directories that may be used for supplying fonts for KDE. | 72 | # There are 4 directories that may be used for supplying fonts for KDE. | ||
64 | # | 73 | # | ||
65 | # There are two system directories. These belong to the administrator. | 74 | # There are two system directories. These belong to the administrator. | ||
▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines |