[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-frameworks-devel
Subject:    Re: KDE4 build question: turning off hidden visibility?
From:       Michael Pyne <mpyne () kde ! org>
Date:       2018-10-13 23:39:02
Message-ID: 20181013233902.GA5385 () midna
[Download RAW message or body]

On Thu, Oct 11, 2018 at 12:25:32PM +0200, René J.V. Bertin wrote:
> Hi,
> 
> Please excuse me for a question that's not directly related to KF5 frameworks; I don't know \
> where else to reach an audience who might know (remember) the answer. 
> In short: how do I configure a build so it will use default (public) visibility for all \
> symbols, preferably without patching something installed by kdelibs?

In theory it should be as simple as setting the option
-fvisibility=default in the CXXFLAGS used for the build in question.
This can be done in CMAKE_CXX_FLAGS, though try to do this in a way that
maintains the existing KDE settings.

Regards,
 - Michael Pyne


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic