diff --git a/desktop/kde/applications/calendarsupport/files/qt5.patch b/desktop/kde/applications/calendarsupport/files/qt5.patch
new file mode 100644
index 0000000000..645e3e469a
--- /dev/null
+++ b/desktop/kde/applications/calendarsupport/files/qt5.patch
@@ -0,0 +1,12 @@
+diff -Nuar a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt 2017-12-08 04:03:49.000000000 +0300
++++ b/CMakeLists.txt 2017-12-17 00:25:23.527037197 +0300
+@@ -28,7 +28,7 @@
+ set(CALENDARSUPPORT_LIB_VERSION ${PIM_VERSION})
+ set(AKONADI_MIMELIB_VERSION "5.7.0")
+ set(KDEPIM_LIB_VERSION "5.7.0")
+-set(QT_REQUIRED_VERSION "5.8.0")
++set(QT_REQUIRED_VERSION "5.7.1")
+ set(KMIME_LIB_VERSION "5.7.0")
+ set(CALENDARUTILS_LIB_VERSION "5.7.0")
+ set(KCALENDARCORE_LIB_VERSION "5.7.0")
diff --git a/desktop/kde/applications/calendarsupport/pspec.xml b/desktop/kde/applications/calendarsupport/pspec.xml
index aa5bee53d7..ec45ccffa1 100644
--- a/desktop/kde/applications/calendarsupport/pspec.xml
+++ b/desktop/kde/applications/calendarsupport/pspec.xml
@@ -10,7 +10,7 @@
app:console
Calendar support library
Calendar support library
- mirrors://kde/stable/applications/17.08.3/src/calendarsupport-17.08.3.tar.xz
+ mirrors://kde/stable/applications/17.12.0/src/calendarsupport-17.12.0.tar.xz
extra-cmake-modules
qt5-base-devel
@@ -44,6 +44,9 @@
akonadi-mime-devel
akonadi-contacts-devel
+
+ qt5.patch
+
@@ -95,6 +98,13 @@
+
+ 2017-12-15
+ 17.12.0
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2017-11-11
17.08.3