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>
This commit is contained in:
Thiago Macieira 2012-03-29 12:10:47 -03:00 committed by Qt by Nokia
parent c9b78026f5
commit 7f20dce264

View File

@ -104,6 +104,7 @@ private Q_SLOTS:
void encodingRecodeInvalidUtf8_data();
void encodingRecodeInvalidUtf8();
};
#include "tst_qurlinternal.moc"
void tst_QUrlInternal::idna_testsuite_data()
{
@ -979,5 +980,3 @@ void tst_QUrlInternal::encodingRecodeInvalidUtf8()
}
QTEST_APPLESS_MAIN(tst_QUrlInternal)
#include "tst_qurlinternal.moc"