summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformwindow.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-01-27 08:56:10 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-01-28 07:52:58 +0100
commitfcd3a20059d0c629d972ba2577694394b438a100 (patch)
tree2ed07c006c37af6a659d51e98cd40c46bd08c530 /src/gui/kernel/qplatformwindow.cpp
parentb0c804f345a383d2813f4709632baa43a4275646 (diff)
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/gui/kernel/qplatformwindow.cpp')
0 files changed, 0 insertions, 0 deletions