Move the #include "tst_qurlinternal.moc" up to workaround a bug
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 29 Mar 2012 15:10:47 +0000 (12:10 -0300)
committerQt by Nokia <qt-info@nokia.com>
Thu, 29 Mar 2012 23:19:59 +0000 (01:19 +0200)
commit7f20dce264c6f982e84c3b5d60f3ffbf6341c908
tree62725d52c31d51dbdb4c2d0efb4cae8e253dcacc
parentc9b78026f575361f09b2fac1b1d4abba6a3c2f7d
Move the #include "tst_qurlinternal.moc" up to workaround a bug

I don't know if the bug is in moc or in qmake. But it bails out trying
to parse the .cpp file after the
tst_QUrlInternal::nameprep_testsuite_data function. If the #include is
placed above, it works. If it's placed below, it doesn't.

Change-Id: Ide554aa5aa3f1999e29604ba6d25ccdb09f6ef28
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp