summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-06-03 05:46:02 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-06-10 03:50:42 (GMT)
commit77bab9b6fde3de8628a28109f54b6c728d2464c5 (patch)
tree15200cf2e482438021f6adf47329eb73a8e27272
parent83738a6111c5f94f678c4f26c1082b84e48f16c1 (diff)
downloadQt-77bab9b6fde3de8628a28109f54b6c728d2464c5.zip
Qt-77bab9b6fde3de8628a28109f54b6c728d2464c5.tar.gz
Qt-77bab9b6fde3de8628a28109f54b6c728d2464c5.tar.bz2
Fixed tst_qmake failing to compile when QMAKE_CROSS_COMPILED is defined.
(cherry picked from commit d6d586d4b05f416d89fcaf59c863245f1cb7d9ae)
-rw-r--r--tests/auto/qmake/tst_qmake.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qmake/tst_qmake.cpp b/tests/auto/qmake/tst_qmake.cpp
index bb3810d..8a53c31 100644
--- a/tests/auto/qmake/tst_qmake.cpp
+++ b/tests/auto/qmake/tst_qmake.cpp
@@ -39,13 +39,14 @@
**
****************************************************************************/
+#include <QtTest/QtTest>
+
#if !defined(QMAKE_CROSS_COMPILED)
#include "testcompiler.h"
#include <QObject>
#include <QDir>
-#include <QtTest/QtTest>
class tst_qmake : public QObject
{