Qt5, Qt6 bindings: don't export unneeded symbols in libQt5Pas.so.1 and libQt6Pas.so.6

This commit is contained in:
BZZZZ 2025-05-11 13:42:54 +00:00 committed by Maxim Ganetsky
parent 093a68b134
commit c728c309c2
4 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ TEMPLATE = lib
VPATH = src
MOC_DIR = tmp
OBJECTS_DIR = tmp
QMAKE_CXXFLAGS += -Wfatal-errors
QMAKE_CXXFLAGS += -Wfatal-errors -fvisibility=hidden
# Match Intel x86_64 i686 i586 i386 x86 ...
is86 = $$find(QMAKE_HOST.arch, ".*86")

View File

@ -30,7 +30,7 @@
#if defined(__WIN32__)
#define C_EXPORT extern "C" __declspec( dllexport )
#else
#define C_EXPORT extern "C"
#define C_EXPORT extern "C" __attribute__(( visibility("default") ))
#endif
#ifdef __WIN32__

View File

@ -25,7 +25,7 @@ TEMPLATE = lib
VPATH = src
MOC_DIR = tmp
OBJECTS_DIR = tmp
QMAKE_CXXFLAGS += -Wfatal-errors
QMAKE_CXXFLAGS += -Wfatal-errors -fvisibility=hidden
# Match Intel x86_64 i686 i586 i386 x86 ...
is86 = $$find(QMAKE_HOST.arch, ".*86")

View File

@ -29,7 +29,7 @@
#if defined(WIN32) || defined(__WIN32) || defined(__WIN32__)
#define C_EXPORT extern "C" __declspec( dllexport )
#else
#define C_EXPORT extern "C"
#define C_EXPORT extern "C" __attribute__(( visibility("default") ))
#endif
#if defined(WIN32) || defined(__WIN32) || defined(__WIN32__)