qt5base-lts/mkspecs
Thiago Macieira 72ba0079c3 Add a linker version script to Qt libraries
This linker script is only enabled for systems with GCC or GCC-like
compilers, though technically it should work on the BSDs too (will
enable after testing). For regular modules, this declares one ELF
version "Qt_5" and places all QtCore symbols inside, then it declares
unused ELF versions "Qt_5.x" for each older minor release. For modules
declared "internal_module", all symbols are placed in version
Qt_5_PRIVATE_API.

The big advantage of an ELF version is that, when we do Qt 6, both
versions of QtCore could be loaded in memory without conflicts and all
symbols would be resolved to the correct library. No module can talk to
both at the same time, but this avoids mistakes of loading them
indirectly by plugins.

The extra Qt_5.x versions will be used in the next commit.

Change-Id: I049a653beeb5454c9539ffff13e3fe6f050fdf31
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-09-13 18:54:17 +00:00
..
aix-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
aix-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
aix-xlc Update copyright headers 2015-02-11 06:49:51 +00:00
aix-xlc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
android-g++ Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-31 10:03:31 +02:00
blackberry-armle-v7-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
blackberry-x86-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
common Add a linker version script to Qt libraries 2015-09-13 18:54:17 +00:00
cygwin-g++ Makes sure that yacc works with the MSYS bison on Windows. 2015-07-20 16:09:07 +00:00
darwin-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
devices mkspecs: add option to enable boot2qt platform 2015-08-25 19:35:22 +00:00
features Add a linker version script to Qt libraries 2015-09-13 18:54:17 +00:00
freebsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
freebsd-g++46 Update copyright headers 2015-02-11 06:49:51 +00:00
freebsd-icc Update copyright headers 2015-02-11 06:49:51 +00:00
haiku-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-acc-o64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
hpux-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-acc-32 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-acc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hpuxi-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
hurd-g++ centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
irix-cc Update copyright headers 2015-02-11 06:49:51 +00:00
irix-cc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
irix-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
irix-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-arm-gnueabi-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-clang Update copyright headers 2015-02-11 06:49:51 +00:00
linux-clang-libc++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-cxx Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++-32 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-icc Add a linker version script to Qt libraries 2015-09-13 18:54:17 +00:00
linux-icc-32 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-icc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
linux-kcc Update copyright headers 2015-02-11 06:49:51 +00:00
linux-llvm Update copyright headers 2015-02-11 06:49:51 +00:00
linux-lsb-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
linux-pgcc Update copyright headers 2015-02-11 06:49:51 +00:00
lynxos-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
macx-clang Update copyright headers 2015-02-11 06:49:51 +00:00
macx-clang-32 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++40 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++42 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-g++-32 Update copyright headers 2015-02-11 06:49:51 +00:00
macx-icc Add detection of C++14 and C++1z compiler features 2015-09-05 23:05:40 +00:00
macx-ios-clang iOS: filter out iWatch devices when running auto tests 2015-09-11 08:26:53 +00:00
macx-llvm Update copyright headers 2015-02-11 06:49:51 +00:00
macx-xcode Add XCTest logger backend to QtTestLib 2015-03-27 16:53:43 +00:00
modules Adjust wiki links to the new redirect 2015-03-04 15:36:12 +00:00
netbsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
openbsd-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
qnx-armle-v7-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
qnx-x86-qcc Update copyright headers 2015-02-11 06:49:51 +00:00
sco-cc Update copyright headers 2015-02-11 06:49:51 +00:00
sco-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-64 Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-64-stlport Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-cc-stlport Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
solaris-g++-64 Update copyright headers 2015-02-11 06:49:51 +00:00
tru64-cxx Update copyright headers 2015-02-11 06:49:51 +00:00
tru64-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
unixware-cc Update copyright headers 2015-02-11 06:49:51 +00:00
unixware-g++ Update copyright headers 2015-02-11 06:49:51 +00:00
unsupported Add a linker version script to Qt libraries 2015-09-13 18:54:17 +00:00
win32-g++ Add detection of C++14 and C++1z compiler features 2015-09-05 23:05:40 +00:00
win32-icc Add detection of C++14 and C++1z compiler features 2015-09-05 23:05:40 +00:00
win32-msvc2005 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2008 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2010 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2012 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2013 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
win32-msvc2015 centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
wince60standard-armv4i-msvc2005 Update copyright headers 2015-02-11 06:49:51 +00:00
wince60standard-x86-msvc2005 Update copyright headers 2015-02-11 06:49:51 +00:00
wince70embedded-armv4i-msvc2008 Update copyright headers 2015-02-11 06:49:51 +00:00
wince70embedded-x86-msvc2008 Update copyright headers 2015-02-11 06:49:51 +00:00
wince80colibri-armv7-msvc2012 Added Mkspec for Toradex WEC2013 SDK 2015-07-06 10:57:17 +00:00
winphone-arm-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winphone-x86-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-arm-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-arm-msvc2015 WinRT: Link against correct c-runtime 2015-08-07 10:33:01 +00:00
winrt-x64-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-x64-msvc2015 WinRT: Link against correct c-runtime 2015-08-07 10:33:01 +00:00
winrt-x86-msvc2013 Update copyright headers 2015-02-11 06:49:51 +00:00
winrt-x86-msvc2015 WinRT: Link against correct c-runtime 2015-08-07 10:33:01 +00:00