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:
parent
e6324af817
commit
50eb9120ce
@ -46,6 +46,10 @@
|
||||
#include <QtGui>
|
||||
#include <math.h>
|
||||
|
||||
#if defined(Q_OS_WIN) && defined(interface)
|
||||
# undef interface
|
||||
#endif
|
||||
|
||||
|
||||
#include "QtTest/qtestaccessible.h"
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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()) {
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
load(qttest_p4)
|
||||
|
||||
QT += widgets
|
||||
HEADERS += ddhelper.h
|
||||
SOURCES += tst_windowsmobile.cpp ddhelper.cpp
|
||||
RESOURCES += windowsmobile.qrc
|
||||
|
@ -1,3 +1,4 @@
|
||||
SOURCES += main.cpp
|
||||
QT += widgets
|
||||
TARGET = ../testQMenuBar
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user