--- kjs-5.59.0/src/kjs/CMakeLists.txt.orig	2019-06-24 14:28:21.227677000 +0300
+++ kjs-5.59.0/src/kjs/CMakeLists.txt	2019-06-24 14:31:48.084966700 +0300
@@ -10,6 +10,8 @@
 check_cxx_compiler_flag(-fvisibility=hidden __KDE_HAVE_GCC_VISIBILITY)
 configure_file(global.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/global.h )
 
+include_directories(${Qt5Core_INCLUDE_DIRS})
+
 # the check for pcre is in ../CMakeLists.txt
 if(PCRE_FOUND AND NOT KJS_FORCE_DISABLE_PCRE)
    include_directories(${PCRE_INCLUDE_DIR})
