Tests: Add widgets module to profile.

Ensure the right test macro is run.

Change-Id: I84d58038f25b000c05fd52e8bda92e4484d53a6e
Reviewed-on: http://codereview.qt.nokia.com/3805
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Friedemann Kleint 2011-08-29 15:33:59 +02:00
parent cf9a304e6e
commit e39f50154f
22 changed files with 22 additions and 12 deletions

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets
HEADERS += oomsimulator.h 3rdparty/valgrind.h 3rdparty/memcheck.h
SOURCES += tst_exceptionsafety_objects.cpp

View File

@ -1,5 +1,5 @@
load(qttest_p4)
QT += xml
QT += xml widgets
contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2):QT += opengl
SOURCES += tst_lancelot.cpp \

View File

@ -7,7 +7,7 @@ INCLUDEPATH += .
SOURCES += tst_macgui.cpp guitest.cpp
HEADERS += guitest.h
QT = core-private gui-private
QT = core-private gui-private widgets
requires(mac)

View File

@ -7,7 +7,7 @@ TEMPLATE = app
DEPENDPATH += .
INCLUDEPATH += .
LIBS += -framework Carbon
QT += widgets
HEADERS += qnativeevents.h nativeeventlist.h expectedeventlist.h
SOURCES += qnativeevents.cpp qnativeevents_mac.cpp
SOURCES += expectedeventlist.cpp nativeeventlist.cpp

View File

@ -1,5 +1,6 @@
load(qttest_p4)
requires(contains(QT_CONFIG,accessibility))
QT += widgets
SOURCES += tst_qaccessibility.cpp
unix:!mac:LIBS+=-lm

View File

@ -18,6 +18,6 @@ exists($$(QTDIR)/tools/designer/src/lib/uilib/uilib.pri) {
} else {
CONFIG += uitools
}
QT += xml
QT += xml widgets
LIBS += -framework ApplicationServices -framework Carbon

View File

@ -1,5 +1,5 @@
load(qttest_p4)
QT += widgets
SOURCES += ../tst_qdirectpainter.cpp
TARGET = ../tst_qdirectpainter

View File

@ -4,7 +4,7 @@
load(qttest_p4)
requires(contains(QT_CONFIG,opengl))
QT += opengl
QT += opengl widgets
win32:!wince*: DEFINES += QT_NO_EGL

View File

@ -1,6 +1,6 @@
load(qttest_p4)
requires(contains(QT_CONFIG,opengl))
QT += opengl
QT += opengl widgets
win32:!wince*: DEFINES += QT_NO_EGL

View File

@ -3,6 +3,7 @@
############################################################
load(qttest_p4)
QT += widgets
SOURCES += tst_qgraphicslayout.cpp
DEFINES += QT_USE_USING_NAMESPACE
CONFIG += parallel_test

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qitemeditorfactory.cpp

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qitemselectionmodel.cpp

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qitemview.cpp

View File

@ -1,6 +1,6 @@
load(qttest_p4)
QT += gui-private
QT += gui-private widgets
INCLUDEPATH += .
SOURCES += tst_qmdiarea.cpp

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qmultiscreen.cpp
requires(embedded)

View File

@ -1,6 +1,6 @@
load(qttest_p4)
SOURCES += tst_qnetworkaccessmanager_and_qprogressdialog.cpp
QT += network
QT += network widgets
symbian: TARGET.CAPABILITY = NetworkServices

View File

@ -1,5 +1,6 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qscroller.cpp
CONFIG += insignificant_test

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qsoftkeymanager.cpp
requires(symbian)

View File

@ -1,5 +1,5 @@
load(qttest_p4)
QT += widgets
QT += core core-private gui
QT += core core-private gui widgets
SOURCES += tst_qstatemachine.cpp

View File

@ -1,3 +1,3 @@
SOURCES=tst_qtouchevent.cpp
TARGET=tst_qtouchevent
QT+=testlib
QT += testlib widgets

View File

@ -1,2 +1,3 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qwsembedwidget.cpp

View File

@ -13,7 +13,7 @@ win32 {
}
}
QT += xml svg network
QT += widgets network
wince*|symbian: {
configuration.files = ../*.ini