Bug 291053 - CMake claims qt compiled without -fvisibility=hidden
Summary: CMake claims qt compiled without -fvisibility=hidden
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Cmake (show other bugs)
Version: 2.5.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 13:47 UTC by Dennis veatch
Modified: 2022-01-31 16:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis veatch 2012-01-09 13:47:24 UTC
Version:           2.5.0 (using KDE 4.7.4) 
OS:                Linux

 When running ccmake, it complains about the following;

CMake Error at /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:1292 (message):
   Qt compiled without support for -fvisibility=hidden.  This will break
   plugins and linking of some applications.  Please fix your Qt installation
   (try passing --reduce-exports to configure).
 Call Stack (most recent call first):
   /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
   CMakeLists.txt:38 (FIND_PACKAGE)



Reproducible: Always

Steps to Reproduce:
Just run ccmake in source directory


Actual Results:  
It will not present me with the generate command to proceed with the compile.

Expected Results:  
Press "configure" and be presented with the "generate" command.


I do have qt-4.8.0 compiled with -fvisibility=hidden. This is just a snippet from the qt compile process;

g++ -c -include .pch/release-shared/QtDesignerComponents -O2 -march=native -pipe -I/usr/include/mysql -I/usr/include -I/usr/include/postgresql/server -O2 -march=native -pipe -D_REENTRANT -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_STATICPLUGIN -DQDESIGNER_COMPONENTS_LIBRARY -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../../mkspecs/linux-g++-64 -I. -I../../../../../include/QtDesigner -I../../../../../include/QtCore -I../../../../../include/QtGui -I../../../../../include/QtXml -I../../../../../include/QtScript -I../../../../../include -I. -I.. -I../../lib/components -I../../lib/sdk -I../../lib/extension -I../../lib/uilib -I../../lib/shared -I../propertyeditor -I../../../../shared/qtpropertybrowser -I../../../../shared/qtgradienteditor -I../../../../shared/findwidget -I../objectinspector -I../signalsloteditor -I../formeditor -I../widgetbox -I../buddyeditor -I../taskmenu -I../propertyeditor -I../taskmenu -I../../../../shared/qtpropertybrowser -I../tabordereditor -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/signalsloteditorwindow.o ../signalsloteditor/signalsloteditorwindow.cpp
Comment 1 caulier.gilles 2012-01-09 14:23:42 UTC
Sound like a problem with KDE cmake script, not digiKam...

Gilles Caulier
Comment 2 caulier.gilles 2015-07-01 06:05:36 UTC
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?
Comment 3 caulier.gilles 2015-08-22 06:35:27 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.
Comment 4 caulier.gilles 2016-07-10 13:43:44 UTC
This problem is not reproducible with last 5.0.0.
I close this file now. Don't hesitate to re-open it if necessary.
Gilles Caulier