qt5base-lts/tests/auto/atwrapper
Rohan McGovern 173099696f tests: clean up usage of QT_CONFIG to fix circular dependencies
With modularized Qt, using QT_CONFIG is dangerous, because the behavior
changes depending on the order in which modules are qmake'd.

For example, an autotest doing:

  contains(QT_CONFIG,svg):QT += svg

...will depend on libQtSvg if (and only if) the autotest is qmake'd
_after_ qtsvg is qmake'd.

This makes the tested functionality unpredictable.
Also, if the above example occurs within qtbase, it causes the test to
sometimes have a circular dependency: if qtsvg is qmake'd before the
test is qmake'd, the test in qtbase depends on qtsvg which depends on
qtbase.

Tests must avoid functionality tests via QT_CONFIG except where all the
tested modules are dependencies of the current module.

Usage of QT_CONFIG with qt3support was entirely removed since Qt5
will not retain qt3support.

Reviewed-by: Jason McDonald
Change-Id: I5a5013b3ec7e1f38fb78864763c9e7586c15e70b
2011-05-16 13:10:00 +10:00
..
.gitignore Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
atWrapper.cpp Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
atWrapper.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
atWrapper.pro tests: clean up usage of QT_CONFIG to fix circular dependencies 2011-05-16 13:10:00 +10:00
atWrapperAutotest.cpp Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
desert.ini Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
ephron.ini Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
gullgubben.ini Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
honshu.ini Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
kramer.ini Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
scruffy.ini Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
spareribs.ini Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
titan.ini Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
TODO Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00