Changeset View
Changeset View
Standalone View
Standalone View
startkde/startplasma.cmake
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 42 | KSplashQML) | |||
---|---|---|---|---|---|
44 | ;; | 44 | ;; | ||
45 | None) | 45 | None) | ||
46 | ;; | 46 | ;; | ||
47 | *) | 47 | *) | ||
48 | ;; | 48 | ;; | ||
49 | esac | 49 | esac | ||
50 | fi | 50 | fi | ||
51 | 51 | | |||
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 | | |||
54 | #for QtQuickControlsStyle and Kirigami | | |||
55 | export QT_QUICK_CONTROLS_STYLE=org.kde.desktop | | |||
56 | | ||||
57 | # For Qt Quick Controls 1, there is no style with that name, | 52 | # For Qt Quick Controls 1, there is no style with that name, | ||
58 | # so override that explicitly with the default style to avoid | 53 | # so override that explicitly with the default style to avoid | ||
59 | # a warning on startup. However, simply setting it to "Desktop" does | 54 | # a warning on startup. However, simply setting it to "Desktop" does | ||
60 | # not work, as QQuickControlSettings1 somehow messes that up and uses | 55 | # not work, as QQuickControlSettings1 somehow messes that up and uses | ||
61 | # the parent directory as import path, resulting in the wrong style "Base" | 56 | # the parent directory as import path, resulting in the wrong style "Base" | ||
62 | # being used instead of the right one. | 57 | # being used instead of the right one. | ||
63 | # We can work around that by supplying a relative path to a nonexistent | 58 | # 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... | 59 | # directory, as it only looks at the file name in the end anyway... | ||
▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines |