Complain if we don't load(qt_module) first
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>
Wed, 8 Jun 2011 17:01:24 +0000 (12:01 -0500)
committerQt Continuous Integration System <qt-info@nokia.com>
Wed, 8 Jun 2011 19:04:48 +0000 (21:04 +0200)
commit2e2ad7ec7fa262826bd2c75f63e506f54ddd5252
treecf02388d0b886a5be2d045d27e06e0c8aa227629
parent8fe0427cb8a684f16e37a37684b7ddfd803d5ab2
Complain if we don't load(qt_module) first

Not having load(qt_module) first in a .pro file which later
does a load(qt_module_config) will likely overwrite
compiler/linker options in the .pro file.

This can be hard to figure out, and wasn't required before
when we used a global .qmake.cache for all modules, since
it 'preloaded' qmodule.pri file for all .pro files.

Change-Id: I8a9aa3247f938be0b3b13f8c8cc96c18a142ba7b
Reviewed-on: http://codereview.qt.nokia.com/412
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
mkspecs/features/qt_module.prf
mkspecs/features/qt_module_config.prf