qt5base-lts/config.tests/qpa
Oswald Buddenhagen c0cc505209 rewrite library handling in configure
so far, each library was distributed over a test and (optionally) a
'library' output of a feature. this was conceptually messy and limiting.
so instead, turn libraries into a category of their own.

libraries now support multiple properly separated sources, which makes
overriding them a lot saner. sources can be conditional to accommodate
platform differences.

as an immediate consequence, move (almost) all library references from
the config test projects to the json file.
a few tests were excluded, because they are doing somewhat magic things
that should not be handled in this bulk change:
- freetype: .pri file shared with actual source code
- clock-gettime: -lrt is conditional, and there is a .pri file which is
  shared with actual source code
- ipc_posix: -lrt & -lpthread conditional
- iconv: -liconv conditional

the multi-source mechanism is used to make a variety of tests work on
windows, where the library name differs from unix (and sometimes between
build configurations). some tests still needed minor adjustments to
actually work.

on the way, fix up disagreements between manually specified libraries
and pkg-config lines (affecting several xcb-related tests).

Change-Id: Ic8c58556fa0cf8f981d386b13ea34b4431b127c5
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2016-08-18 17:09:52 +00:00
..
direct2d rewrite library handling in configure 2016-08-18 17:09:52 +00:00
directfb Update the Intel copyright year 2016-01-21 22:44:16 +00:00
egl rewrite library handling in configure 2016-08-18 17:09:52 +00:00
egl-x11 rewrite library handling in configure 2016-08-18 17:09:52 +00:00
eglfs-brcm rewrite library handling in configure 2016-08-18 17:09:52 +00:00
eglfs-egldevice rewrite library handling in configure 2016-08-18 17:09:52 +00:00
eglfs-mali rewrite library handling in configure 2016-08-18 17:09:52 +00:00
eglfs-mali-2 rewrite library handling in configure 2016-08-18 17:09:52 +00:00
eglfs-viv rewrite library handling in configure 2016-08-18 17:09:52 +00:00
gbm rewrite library handling in configure 2016-08-18 17:09:52 +00:00
kms rewrite library handling in configure 2016-08-18 17:09:52 +00:00
linuxfb Updated license headers 2016-01-15 12:25:24 +00:00
mirclient rewrite library handling in configure 2016-08-18 17:09:52 +00:00
wayland-server rewrite library handling in configure 2016-08-18 17:09:52 +00:00
xcb rewrite library handling in configure 2016-08-18 17:09:52 +00:00
xcb-glx rewrite library handling in configure 2016-08-18 17:09:52 +00:00
xcb-render rewrite library handling in configure 2016-08-18 17:09:52 +00:00
xcb-syslibs rewrite library handling in configure 2016-08-18 17:09:52 +00:00
xcb-xkb rewrite library handling in configure 2016-08-18 17:09:52 +00:00
xcb-xlib rewrite library handling in configure 2016-08-18 17:09:52 +00:00