--- CMakeLists.txt.orig	2014-10-25 16:16:56.000000000 +0900
+++ CMakeLists.txt	2017-10-11 22:41:19.000000000 +0900
@@ -12,6 +12,10 @@
 # search required packages
 # ===============================================================================================
 find_package(KDE4 4.9.4 REQUIRED)
+
+# Remove unwanted flag
+string(REPLACE "-fvisibility=hidden" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
+
 include(KDE4Defaults)
 
 # TODO: Remove this block and the cmake directory when kdelibs >= 4.10 will be required
