diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-01-27 08:56:10 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-01-28 07:52:58 +0100 |
commit | fcd3a20059d0c629d972ba2577694394b438a100 (patch) | |
tree | 2ed07c006c37af6a659d51e98cd40c46bd08c530 /src/widgets/kernel/qapplication.cpp | |
parent | QComboBox: unify behavior of setModel() and modelReset (diff) | |
download | qtbase-fcd3a20059d0c629d972ba2577694394b438a100.tar.xz qtbase-fcd3a20059d0c629d972ba2577694394b438a100.zip |
macOS build: Fix 'direct access in function...' warning
For every executable that uses a static Qt library (e.g. rcc using
libQt5Bootstrap.a) we got a warning: 'direct access in function...to
global weak symbol'.
This was because we've built all libraries with -fvisibility=hidden
-fvisibility-inlines-hidden but not the executables linking against
them. On macOS however, all translation units must have the same
visibility setting.
We're now setting the same visibilty for libs and executables on
darwin.
Fixes: QTBUG-81297
Change-Id: I2668e9385caa7f0ce78bf3727b4e5322bc4a294f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/widgets/kernel/qapplication.cpp')
0 files changed, 0 insertions, 0 deletions