[Bug 253013] New: find_package( KDE4 REQUIRED ) doesn't work with qt 4.7.0-2

dizieg at gmail.com dizieg at gmail.com
Sat Oct 2 11:58:33 BST 2010


https://bugs.kde.org/show_bug.cgi?id=253013

           Summary: find_package( KDE4 REQUIRED ) doesn't work with qt
                    4.7.0-2
           Product: kde
           Version: unspecified
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: dizieg at gmail.com


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list