diff --git a/desktop/kde/applications/grantleetheme/files/qt5.patch b/desktop/kde/applications/grantleetheme/files/qt5.patch
new file mode 100644
index 0000000000..a72a92cac3
--- /dev/null
+++ b/desktop/kde/applications/grantleetheme/files/qt5.patch
@@ -0,0 +1,12 @@
+diff -Nuar a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt 2017-12-08 04:03:55.000000000 +0300
++++ b/CMakeLists.txt 2017-12-16 22:59:16.160410049 +0300
+@@ -30,7 +30,7 @@
+
+ set(GRANTLEETHEME_LIB_VERSION ${PIM_VERSION})
+
+-set(QT_REQUIRED_VERSION "5.8.0")
++set(QT_REQUIRED_VERSION "5.7.1")
+ set(GRANTLEE_VERSION "5.1")
+
+ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Network)
diff --git a/desktop/kde/applications/grantleetheme/pspec.xml b/desktop/kde/applications/grantleetheme/pspec.xml
index 39c37b8761..7266e8cdaa 100644
--- a/desktop/kde/applications/grantleetheme/pspec.xml
+++ b/desktop/kde/applications/grantleetheme/pspec.xml
@@ -21,6 +21,9 @@
grantlee-qt5-devel
knewstuff-devel
+
+ qt5.patch
+