qt5base-lts/tests/auto/moc
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
..
task71021 Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
Test.framework/Headers Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
testproject Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
.gitattributes Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
.gitignore Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
assign-namespace.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
backslash-newlines.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
c-comments.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
cstyle-enums.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
dir-in-include-path.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
error-on-wrong-notify.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
escapes-in-string-literals.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
extraqualification.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
forgotten-qinterface.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
gadgetwithnoenums.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
Header Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
interface-from-framework.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
macro-on-cmdline.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
moc.pro tests: clean up usage of QT_CONFIG to fix circular dependencies 2011-05-16 13:10:00 +10:00
namespaced-flags.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
no-keywords.h tst_moc: remove QtSvg dependency 2011-05-13 11:11:55 +02:00
oldstyle-casts.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
os9-newlines.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
parse-boost.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
pure-virtual-signals.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qinvokable.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qprivateslots.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
single_function_keyword.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
slots-with-void-template.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
task87883.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
task189996.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
task192552.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
task234909.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
task240368.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
template-gtgt.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
trigraphs.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
tst_moc.cpp Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
using-namespaces.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn-on-multiple-qobject-subclasses.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn-on-property-without-read.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
win-newlines.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00