Fix further test builds on Windows.

Change-Id: I9846d19c5975f4d17bed46c59272a0fa428fd0d1
Reviewed-on: http://codereview.qt.nokia.com/3980
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint 2011-08-31 15:21:48 +02:00
parent e6324af817
commit 50eb9120ce
6 changed files with 13 additions and 6 deletions

View File

@ -46,6 +46,10 @@
#include <QtGui>
#include <math.h>
#if defined(Q_OS_WIN) && defined(interface)
# undef interface
#endif
#include "QtTest/qtestaccessible.h"

View File

@ -40,9 +40,11 @@
****************************************************************************/
#include <QtTest/QtTest>
#include <qcoreapplication.h>
#include <QtTest/QTest>
#include <QtTest/QTestEventLoop>
#include <QtCore/QQueue>
#include <QtCore/QString>
#include <QtCore/QCoreApplication>
#include <private/qhttpsocketengine_p.h>
#include <qhostinfo.h>

View File

@ -564,7 +564,7 @@ void tst_QPainter::qt_format_text_boundingRect()
QCOMPARE(pbr, br);
}
#endif
#if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
#if !defined(QT_NO_PRINTER) && !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
{
QPrinter printer(QPrinter::HighResolution);
if (printer.printerName().isEmpty()) {

View File

@ -1,7 +1,7 @@
load(qttest_p4)
SOURCES += tst_qsql.cpp
QT += sql sql-private
QT += sql sql-private gui widgets
wince*: {
DEPLOYMENT_PLUGIN += qsqlite

View File

@ -1,6 +1,6 @@
load(qttest_p4)
QT += widgets
HEADERS += ddhelper.h
SOURCES += tst_windowsmobile.cpp ddhelper.cpp
RESOURCES += windowsmobile.qrc

View File

@ -1,3 +1,4 @@
SOURCES += main.cpp
QT += widgets
TARGET = ../testQMenuBar