summaryrefslogtreecommitdiff
path: root/user/spectacle/qt5.9.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/spectacle/qt5.9.patch')
-rw-r--r--user/spectacle/qt5.9.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/user/spectacle/qt5.9.patch b/user/spectacle/qt5.9.patch
new file mode 100644
index 000000000..aa830f86b
--- /dev/null
+++ b/user/spectacle/qt5.9.patch
@@ -0,0 +1,23 @@
+--- spectacle-19.04.0/CMakeLists.txt.old 2019-04-12 00:06:23.000000000 +0000
++++ spectacle-19.04.0/CMakeLists.txt 2019-04-18 22:57:10.598054362 +0000
+@@ -11,7 +11,7 @@
+ # Spectacle project
+ project(Spectacle VERSION ${SPECTACLE_VERSION})
+
+-set(QT_MIN_VERSION "5.10.0")
++set(QT_MIN_VERSION "5.9.0")
+ set(KF5_MIN_VERSION "5.53.0")
+ set(PLASMA_MIN_VERSION "5.12.0")
+
+--- spectacle-19.04.0/src/SpectacleCore.cpp.old 2019-04-11 07:37:14.000000000 +0000
++++ spectacle-19.04.0/src/SpectacleCore.cpp 2019-04-18 22:57:46.694193923 +0000
+@@ -165,8 +165,7 @@
+ break;
+ case Actions::StartNewInstance:
+ QProcess newInstance;
+- newInstance.setProgram(QStringLiteral("spectacle"));
+- newInstance.startDetached();
++ newInstance.startDetached(QStringLiteral("spectacle"));
+ break;
+ }
+ }