Version: unspecified (using KDE 4.5.1) OS: Linux I am trying to compile simple kde4 app with cmake. Line with find_package( KDE4 REQUIRED ) causes these errors: CMake Error at /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:1271 (message): Qt compiled without support for -fvisibility=hidden. This will break plugins and linking of some applications. Please fix your Qt installation. Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE) src/CMakeLists.txt:3 (find_package) Lines 1268 and 1272 of my FindKDE4Internal.cmake: try_compile(_compile_result ${CMAKE_BINARY_DIR} ${_source_file} CMAKE_FLAGS "${_include_dirs}" COMPILE_OUTPUT_VARIABLE _compile_output_var) if(NOT _compile_result) message(FATAL_ERROR "Qt compiled without support for -fvisibility=hidden. This will break plugins and linking of some applications. Please fix your Qt installation.") endif(NOT _compile_result) Reproducible: Always
The error message is really self-explanatory. If you did not compile Qt yourself, please report this bug to the Archlinux distribution bug tracker.
(In reply to comment #1) > The error message is really self-explanatory. If you did not compile Qt > yourself, please report this bug to the Archlinux distribution bug tracker. I have tried this with archlinux package and also self compiled qt. additional info: https://bugs.archlinux.org/task/20979?opened=5537&type[0]=&sev[0]=&due[0]=&cat[0]=&status[0]=open&percent[0]=&reported[0]= https://bugs.archlinux.org/task/18361?opened=5537&type[0]=&sev[0]=&due[0]=&cat[0]=&status[0]=open&percent[0]=&reported[0]= https://bugs.kde.org/show_bug.cgi?id=227335
I am pretty sure the bug is not in KDE, because I compile Qt 4.7 branch and KDE trunk daily without problems. Reassigning to build system maintainers for clarification.
Is that still an issue ?
Feel free to close.