Tests: Compile.

This commit is contained in:
Friedemann Kleint 2011-05-23 16:49:06 +02:00
parent 37d76a6798
commit 6a3dce1995
229 changed files with 316 additions and 157 deletions

View File

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

View File

@ -1,4 +1,4 @@
load(qttest_p4)
QT += core-private
QT += widgets core-private
SOURCES += tst_languagechange.cpp

View File

@ -46,10 +46,10 @@
#include <QtCore/QSet>
#include <QtCore/QTranslator>
#include <private/qthread_p.h>
#include <QtGui/QInputDialog>
#include <QtGui/QColorDialog>
#include <QtGui/QFileDialog>
#include <QtGui/QDesktopWidget>
#include <QtWidgets/QInputDialog>
#include <QtWidgets/QColorDialog>
#include <QtWidgets/QFileDialog>
#include <QtWidgets/QDesktopWidget>
//TESTED_CLASS=

View File

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

View File

@ -1,7 +1,7 @@
load(qttest_p4)
INCLUDEPATH += $$PWD/../modeltest
QT += widgets
SOURCES += tst_qabstractitemmodel.cpp ../modeltest/dynamictreemodel.cpp ../modeltest/modeltest.cpp
HEADERS += ../modeltest/dynamictreemodel.h ../modeltest/modeltest.h

View File

@ -43,7 +43,7 @@
#include <QtTest/QtTest>
#include <QtCore/QtCore>
#include <QtGui/QSortFilterProxyModel>
#include <QtWidgets/QSortFilterProxyModel>
//TESTED_CLASS=QAbstractListModel QAbstractTableModel
//TESTED_FILES=

View File

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

View File

@ -3,7 +3,7 @@
############################################################
load(qttest_p4)
QT += widgets
SOURCES += tst_qabstractprintdialog.cpp

View File

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

View File

@ -3,7 +3,7 @@
############################################################
load(qttest_p4)
QT += widgets
SOURCES += tst_qabstractscrollarea.cpp

View File

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

View File

@ -3,7 +3,7 @@
############################################################
load(qttest_p4)
QT += widgets
SOURCES += tst_qabstractspinbox.cpp

View File

@ -3,7 +3,7 @@
############################################################
load(qttest_p4)
QT += widgets
SOURCES += tst_qabstracttextdocumentlayout.cpp

View File

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

View File

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

View File

@ -11,6 +11,7 @@ wince*:TARGET = ../desktopsettingsaware
symbian:TARGET = desktopsettingsaware
# Input
QT += widgets
SOURCES += main.cpp
CONFIG += qt warn_on create_prl link_prl
CONFIG -= app_bundle

View File

@ -1,4 +1,5 @@
TEMPLATE = app
QT += widgets
TARGET =
DEPENDPATH += .
INCLUDEPATH += .

View File

@ -1,5 +1,6 @@
load(qttest_p4)
QT += widgets widgets-private
QT += core-private gui-private
SOURCES += ../tst_qapplication.cpp
@ -8,7 +9,7 @@ TARGET = ../tst_qapplication
wince* {
additional.files = ../desktopsettingsaware/desktopsettingsaware.exe
additional.path = desktopsettingsaware
someTest.files = test.pro
someTest.files e= test.pro
someTest.path = test
DEPLOYMENT += additional deploy someTest
}

View File

@ -2,6 +2,7 @@ TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
QT += widgets
SOURCES += main.cpp

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,6 +3,7 @@ TARGET =
DEPENDPATH += .
INCLUDEPATH += .
CONFIG -= app_bundle
QT += widgets
win32: DESTDIR = ../copier
# Input
SOURCES += main.cpp

View File

@ -4,7 +4,7 @@ DEPENDPATH += .
INCLUDEPATH += .
win32: DESTDIR = ../paster
CONFIG -= app_bundle
QT += widgets
# Input
SOURCES += main.cpp

View File

@ -42,7 +42,7 @@
#include <QtTest/QtTest>
#include <QtCore/QDebug>
#include <QtGui/QApplication>
#include <QtWidgets/QApplication>
#include <QtGui/QClipboard>
#ifdef Q_WS_MAC
#include <Carbon/Carbon.h>

View File

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

View File

@ -1,4 +1,5 @@
CONFIG += qttest_p4
QT += widgets widgets-private
QT += gui-private core-private
SOURCES += tst_qcolumnview.cpp

View File

@ -44,9 +44,9 @@
#include <qstandarditemmodel.h>
#include <qitemdelegate.h>
#include <qcolumnview.h>
#include "../../../src/gui/itemviews/qcolumnviewgrip_p.h"
#include "../../../src/widgets/itemviews/qcolumnviewgrip_p.h"
#ifndef Q_OS_SYMBIAN
#include "../../../src/gui/dialogs/qfilesystemmodel_p.h"
#include "../../../src/widgets/dialogs/qfilesystemmodel_p.h"
#endif
#include <qdirmodel.h>
#include <qstringlistmodel.h>

View File

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

View File

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

View File

@ -4,6 +4,7 @@
load(qttest_p4)
TEMPLATE = app
TARGET = tst_qcompleter
QT += widgets
DEPENDPATH += .
INCLUDEPATH += . ..

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets widgets-private
QT += core-private gui-private
SOURCES += tst_qcomplextext.cpp
INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/harfbuzz/src

View File

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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qdatetimeedit.cpp
wincewm50smart-msvc2005: DEFINES += WINCE_NO_MODIFIER_KEYS

View File

@ -1,4 +1,5 @@
CONFIG += qttest_p4
QT += widgets
SOURCES += tst_qdesktopservices.cpp
TARGET = tst_qdesktopservices

View File

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

View File

@ -41,7 +41,7 @@
#include <QtTest/QtTest>
#include <QtGui/QDesktopWidget>
#include <QtWidgets/QDesktopWidget>
#include <QDebug>
//TESTED_CLASS=

View File

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

View File

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

View File

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

View File

@ -39,11 +39,11 @@
**
****************************************************************************/
#include <QtTest/QtTest>
#include <QtGui/QPushButton>
#include <QtGui/QStyle>
#include <QtGui/QLayout>
#include <QtGui/QDialog>
#include <QtGui/QAction>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QStyle>
#include <QtWidgets/QLayout>
#include <QtWidgets/QDialog>
#include <QtWidgets/QAction>
#include <qdialogbuttonbox.h>
#include <limits.h>

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qdirmodel.cpp
wince*|symbian {

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@
############################################################
load(qttest_p4)
QT += widgets
SOURCES += tst_qdrag.cpp

View File

@ -6,7 +6,7 @@ TEMPLATE = app
TARGET = tst_qerrormessage
DEPENDPATH += .
INCLUDEPATH += .
QT += widgets
CONFIG += console qtestlib
# Input
SOURCES += tst_qerrormessage.cpp

View File

@ -3,7 +3,7 @@
############################################################
load(qttest_p4)
QT += widgets widgets-private
QT += core-private gui-private
SOURCES += tst_qfiledialog.cpp

View File

@ -62,9 +62,9 @@
#include <qlayout.h>
#include "../../shared/util.h"
#if defined QT_BUILD_INTERNAL
#include "../../../src/gui/dialogs/qsidebar_p.h"
#include "../../../src/gui/dialogs/qfilesystemmodel_p.h"
#include "../../../src/gui/dialogs/qfiledialog_p.h"
#include "../../../src/widgets/dialogs/qsidebar_p.h"
#include "../../../src/widgets/dialogs/qfilesystemmodel_p.h"
#include "../../../src/widgets/dialogs/qfiledialog_p.h"
#endif
#include <QFileDialog>
#include <QFileSystemModel>

View File

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

View File

@ -61,9 +61,9 @@
#include <qlineedit.h>
#include <qlayout.h>
#include "../../shared/util.h"
#include "../../../src/gui/dialogs/qsidebar_p.h"
#include "../../../src/gui/dialogs/qfilesystemmodel_p.h"
#include "../../../src/gui/dialogs/qfiledialog_p.h"
#include "../../../src/widgets/dialogs/qsidebar_p.h"
#include "../../../src/widgets/dialogs/qfilesystemmodel_p.h"
#include "../../../src/widgets/dialogs/qfiledialog_p.h"
#include "../network-settings.h"

View File

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

View File

@ -1,2 +1,3 @@
TEMPLATE = subdirs
QT += widgets
SUBDIRS = test qfileopeneventexternal

View File

@ -1,6 +1,6 @@
TEMPLATE = app
TARGET = qfileopeneventexternal
QT += core gui
QT += core gui widgets
SOURCES += qfileopeneventexternal.cpp
symbian: {
RSS_RULES += "embeddability=KAppEmbeddable;"

View File

@ -1,6 +1,7 @@
CONFIG += qttest_p4
QT = core-private gui
QT += widgets widgets-private
QT += core-private gui
SOURCES += tst_qfilesystemmodel.cpp
TARGET = tst_qfilesystemmodel

View File

@ -42,7 +42,7 @@
#include <QtTest/QtTest>
#ifdef QT_BUILD_INTERNAL
#include "../../../src/gui/dialogs/qfilesystemmodel_p.h"
#include "../../../src/widgets/dialogs/qfilesystemmodel_p.h"
#endif
#include <QFileSystemModel>
#include <QFileIconProvider>

View File

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

View File

@ -3,7 +3,7 @@
############################################################
load(qttest_p4)
QT += widgets
SOURCES += tst_qfocusframe.cpp

View File

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

View File

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

View File

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

View File

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

View File

@ -46,9 +46,8 @@
#include <qwidget.h>
#include <qwindowsstyle.h>
#include <qsizepolicy.h>
#include <QtGui>
#include <QtGui/QWindowsStyle>
#include <QtWidgets/QWindowsStyle>
#include <QStyleFactory>
#include <qformlayout.h>

View File

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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets widgets-private
QT += core-private gui-private
SOURCES += tst_qgraphicsanchorlayout.cpp
CONFIG += parallel_test

View File

@ -40,12 +40,12 @@
****************************************************************************/
#include <QtTest/QtTest>
#include <QtGui/qgraphicsanchorlayout.h>
#include <QtWidgets/qgraphicsanchorlayout.h>
#include <private/qgraphicsanchorlayout_p.h>
#include <QtGui/qgraphicswidget.h>
#include <QtGui/qgraphicsproxywidget.h>
#include <QtGui/qgraphicsview.h>
#include <QtGui/qwindowsstyle.h>
#include <QtWidgets/qgraphicswidget.h>
#include <QtWidgets/qgraphicsproxywidget.h>
#include <QtWidgets/qgraphicsview.h>
#include <QtWidgets/qwindowsstyle.h>
class tst_QGraphicsAnchorLayout : public QObject {
Q_OBJECT

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets widgets-private
QT += core-private gui-private
SOURCES += tst_qgraphicsanchorlayout1.cpp
CONFIG += parallel_test

View File

@ -43,7 +43,7 @@
#include <QtTest/QtTest>
#include <QTest>
#include <QMetaType>
#include <QtGui/qgraphicsanchorlayout.h>
#include <QtWidgets/qgraphicsanchorlayout.h>
#include <private/qgraphicsanchorlayout_p.h>
#define TEST_COMPLEX_CASES

View File

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

View File

@ -41,13 +41,13 @@
#include <QtTest/QtTest>
#include <QtGui/qdesktopwidget.h>
#include <QtGui/qgraphicseffect.h>
#include <QtGui/qgraphicsview.h>
#include <QtGui/qgraphicsscene.h>
#include <QtGui/qgraphicsitem.h>
#include <QtGui/qgraphicswidget.h>
#include <QtGui/qstyleoption.h>
#include <QtWidgets/qdesktopwidget.h>
#include <QtWidgets/qgraphicseffect.h>
#include <QtWidgets/qgraphicsview.h>
#include <QtWidgets/qgraphicsscene.h>
#include <QtWidgets/qgraphicsitem.h>
#include <QtWidgets/qgraphicswidget.h>
#include <QtWidgets/qstyleoption.h>
#include "../../shared/util.h"
#include <private/qgraphicseffect_p.h>

View File

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

View File

@ -40,11 +40,11 @@
****************************************************************************/
#include <QtTest/QtTest>
#include <QtGui/qgraphicseffect.h>
#include <QtGui/qgraphicsview.h>
#include <QtGui/qgraphicsscene.h>
#include <QtGui/qgraphicsitem.h>
#include <QtGui/qstyleoption.h>
#include <QtWidgets/qgraphicseffect.h>
#include <QtWidgets/qgraphicsview.h>
#include <QtWidgets/qgraphicsscene.h>
#include <QtWidgets/qgraphicsitem.h>
#include <QtWidgets/qstyleoption.h>
#include <private/qgraphicseffect_p.h>

View File

@ -1,4 +1,6 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qgraphicsgridlayout.cpp
CONFIG += parallel_test

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets widgets-private
QT += core-private gui-private
SOURCES += tst_qgraphicsitem.cpp
DEFINES += QT_NO_CAST_TO_ASCII

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qgraphicsitemanimation.cpp
DEFINES += QT_NO_CAST_TO_ASCII
CONFIG += parallel_test

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets widgets-private
QT += core-private gui-private
SOURCES += tst_qgraphicsscene.cpp
RESOURCES += images.qrc

View File

@ -1,5 +1,6 @@
load(qttest_p4)
requires(contains(QT_CONFIG,private_tests))
QT += widgets widgets-private
QT += core-private gui-private
SOURCES += tst_qgraphicssceneindex.cpp
CONFIG += parallel_test

View File

@ -41,7 +41,7 @@
#include <QtTest/QtTest>
#include <QtGui/qgraphicsscene.h>
#include <QtWidgets/qgraphicsscene.h>
#include <private/qgraphicsscenebsptreeindex_p.h>
#include <private/qgraphicssceneindex_p.h>
#include <private/qgraphicsscenelinearindex_p.h>

View File

@ -1,3 +1,4 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qgraphicstransform.cpp
CONFIG += parallel_test

View File

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

View File

@ -51,25 +51,25 @@
#include <math.h>
#include <QtGui/QLabel>
#include <QtWidgets/QLabel>
#if !defined(QT_NO_STYLE_MOTIF)
#include <QtGui/QMotifStyle>
#include <QtWidgets/QMotifStyle>
#endif
#if !defined(QT_NO_STYLE_WINDOWS)
#include <QtGui/QWindowsStyle>
#include <QtWidgets/QWindowsStyle>
#endif
#if !defined(QT_NO_STYLE_PLASTIQUE)
#include <QtGui/QPlastiqueStyle>
#include <QtWidgets/QPlastiqueStyle>
#endif
#include <QtGui/QPainterPath>
#include <QtGui/QRubberBand>
#include <QtGui/QScrollBar>
#include <QtGui/QStyleOption>
#include <QtGui/QBoxLayout>
#include <QtGui/QStyle>
#include <QtGui/QPushButton>
#include <QtGui/QInputContext>
#include <QtGui/QDesktopWidget>
#include <QtWidgets/QRubberBand>
#include <QtWidgets/QScrollBar>
#include <QtWidgets/QStyleOption>
#include <QtWidgets/QBoxLayout>
#include <QtWidgets/QStyle>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QInputContext>
#include <QtWidgets/QDesktopWidget>
#include <private/qgraphicsview_p.h>
#include "../../shared/util.h"
#include "../platformquirks.h"

View File

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

View File

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

View File

@ -46,9 +46,9 @@
#include <qwidget.h>
#include <qwindowsstyle.h>
#include <qsizepolicy.h>
#include <QtGui>
//#include <QtGui>
#include <QtGui/QWindowsStyle>
#include <QtWidgets/QWindowsStyle>
#include <QStyleFactory>
#include "../../shared/util.h"

View File

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

View File

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

View File

@ -1,5 +1,6 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qicon.cpp
RESOURCES = tst_qicon.qrc

View File

@ -2,5 +2,6 @@ load(qttest_p4)
INCLUDEPATH += $$PWD/../modeltest
QT += widgets
SOURCES += tst_qidentityproxymodel.cpp ../modeltest/dynamictreemodel.cpp ../modeltest/modeltest.cpp
HEADERS += ../modeltest/dynamictreemodel.h ../modeltest/modeltest.h

View File

@ -1,7 +1,7 @@
load(qttest_p4)
SOURCES += tst_qimagereader.cpp
MOC_DIR=tmp
QT += core-private gui-private network
QT += widgets widgets-private core-private gui-private network
RESOURCES += qimagereader.qrc
!symbian:DEFINES += SRCDIR=\\\"$$PWD\\\"

View File

@ -1,4 +1,5 @@
load(qttest_p4)
QT += widgets
SOURCES += tst_qimagewriter.cpp
MOC_DIR=tmp
!contains(QT_CONFIG, no-tiff):DEFINES += QTEST_HAVE_TIFF

View File

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

View File

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

Some files were not shown because too many files have changed in this diff Show More