permit explicitly empty qt.conf entries
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 20 Mar 2012 18:18:51 +0000 (19:18 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 21 Mar 2012 10:49:10 +0000 (11:49 +0100)
commit18ddad191e157d741d9ced12b3d42c3a315f5457
tree3cfb2d81022767b516382f9907acd072d196db9e
parent2cc5442b0263a449f4f5eb0cbf99e419ee0d0d38
permit explicitly empty qt.conf entries

this allows expressing "no SettingsPath" cleanly, and makes the
internals cleaner.

this is marginally behavior-incompatible in that if somebody had Prefix
or Data set to an empty string (rather than a dot, which is hinted at by
the documentation and commanded by common sense), he would have gotten
the binary's directory resp. Prefix, while now it will be just empty.

Change-Id: I3c11cc4e8671ffb604d4889389764a9ba9c2e7e6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
src/corelib/global/qlibraryinfo.cpp