make qlibraryinfo table-driven
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 28 Feb 2012 10:01:52 +0000 (11:01 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 29 Feb 2012 14:53:21 +0000 (15:53 +0100)
commit486bde8372b30a2133e911268147704c699f8284
treeec9318715bd55d1cb78b48cf629b6b49edfe365b
parent3b1b5be911102402cb0d932a4da87319d2d04435
make qlibraryinfo table-driven

switch blocks are noisy. this is nicer.

reshuffled the LibraryLocation enum to make table lookups possible and
future-safe.

using pointer-free tables to avoid adding data relocations.

Change-Id: I70ec2c2142ce02a15e67284e4b285d754d930da3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
configure
src/corelib/global/qlibraryinfo.cpp
src/corelib/global/qlibraryinfo.h
tools/configure/configureapp.cpp