summaryrefslogtreecommitdiff
path: root/branding
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-03-11 03:28:17 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-03-11 03:28:17 +0100
commit27d770b0bed12fb6b42b4e1a94b549ac559985d2 (patch)
tree6b7718c0d12926bdb4526aeeda899b59e82eb0ab /branding
parentc604d674ae5fedf07e8722ceffcb556eaa3d2de6 (diff)
[bug] avoid style plugins mixing up and crashing gui
forcing a style override looks like a good workaround to avoid system qt plugins mixing up with the libs in the snap. - Resolves: #458
Diffstat (limited to 'branding')
-rw-r--r--branding/templates/snap/snapcraft-template.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/branding/templates/snap/snapcraft-template.yaml b/branding/templates/snap/snapcraft-template.yaml
index 4a6bd89..6df3d6d 100644
--- a/branding/templates/snap/snapcraft-template.yaml
+++ b/branding/templates/snap/snapcraft-template.yaml
@@ -64,7 +64,6 @@ parts:
- qml-module-qtquick-controls
- qml-module-qtquick-dialogs
- qml-module-qtquick-extras
- - qml-module-qt-labs-qmlmodels
- qml-module-qt-labs-platform
after: [desktop-qt5]
@@ -94,12 +93,12 @@ parts:
- libqt5svg5
- libqt5qml5
- libqt5quick5
+ - qt5-style-plugins
- qml-module-qtquick2
- qml-module-qtquick-controls
- qml-module-qtquick-dialogs
- qml-module-qtquick-extras
- qml-module-qt-labs-platform
- - qml-module-qt-labs-qmlmodels
- try: [appmenu-qt5] # not available on core18
apps:
@@ -121,8 +120,9 @@ apps:
LD_LIBRARY_PATH:
$SNAP/lib:$SNAP/lib/$SNAPCRAFT_ARCH_TRIPLET:$SNAP/usr/lib:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET:$LD_LIBRARY_PATH
QML2_IMPORT_PATH:
- $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/qt5/qml
+ $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/qt5/qml:$SNAP/usr/lib/x86_64-linux-gnu/qt5/qml
# debug -------------
#QT_DEBUG_PLUGINS: 1
SNAP_DESKTOP_DEBUG: 1
+ QT_STYLE_OVERRIDE: Fusion
# debug -------------