summarylogtreecommitdiffstats
path: root/qt-gtk-platform-plugin-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'qt-gtk-platform-plugin-git.install')
-rwxr-xr-xqt-gtk-platform-plugin-git.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/qt-gtk-platform-plugin-git.install b/qt-gtk-platform-plugin-git.install
new file mode 100755
index 000000000000..b2403da14c92
--- /dev/null
+++ b/qt-gtk-platform-plugin-git.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo ""
+ echo "To have gdm automatically export QT_QPA_PLATFORM=gtk where, run:"
+ echo "ln -s /usr/share/qt-gtk-platform-plugin/qt-force-gtk-platform.env /usr/share/gdm/env.d/qt-force-gtk-platform.env"
+ echo "Achtung; Some Qt apps will crash with this backend in use, for example: Qt Creator, Zeal and probably swathes of KDE"
+ echo ""
+}
+
+post_upgrade() {
+ post_install
+}