Don't use QSettings to "cache" plugin information
authorBradley T. Hughes <bradley.hughes@nokia.com>
Wed, 31 Aug 2011 13:17:30 +0000 (15:17 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 5 Sep 2011 11:31:14 +0000 (13:31 +0200)
commit8ed47d961dc7e6f161030654d11cd330a542eadf
treeb12d928105e585380ff12c6706fe2f6c62f3cd2a
parent6fd75df2889c5635f3de265f40f9d23a35a94d00
Don't use QSettings to "cache" plugin information

The main rationale of the cache was to examine the plugin's build-key
before loading it. Now that the build-key has been removed, the cache
has lost its usefulness.

This is part of a larger push to not use QSettings for Qt specific
settings or caches.

See also:
http://lists.qt.nokia.com/pipermail/qt5-feedback/2011-August/000892.html
http://lists.qt.nokia.com/pipermail/qt5-feedback/2011-August/000960.html
http://lists.qt.nokia.com/pipermail/qt5-feedback/2011-August/000907.html
http://lists.qt.nokia.com/pipermail/qt5-feedback/2011-August/000904.html

Change-Id: I96e84aa25983c8e06e027ff70cef109444c362a2
Reviewed-on: http://codereview.qt.nokia.com/3978
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/corelib/kernel/qcoreapplication.cpp
src/corelib/kernel/qcoreapplication_p.h
src/corelib/plugin/qfactoryloader.cpp
src/corelib/plugin/qlibrary.cpp
src/corelib/plugin/qlibrary_p.h
src/corelib/plugin/qpluginloader.cpp