Build against refactor.
authorSamuel Rødal <samuel.rodal@nokia.com>
Thu, 28 Jul 2011 11:18:25 +0000 (13:18 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Fri, 29 Jul 2011 12:06:41 +0000 (14:06 +0200)
Change-Id: I0143767405afe968c0aea71651bd9e3dc7a74e23

52 files changed:
src/declarative/declarative.pro
src/declarative/items/context2d/qsgcontext2d.cpp
src/declarative/items/qsgcanvas.cpp
src/declarative/items/qsgcanvas.h
src/declarative/items/qsgflickable.cpp
src/declarative/items/qsgitem.cpp
src/declarative/items/qsgitem.h
src/declarative/items/qsgmousearea.cpp
src/declarative/items/qsgmousearea_p_p.h
src/declarative/items/qsgpathview.cpp
src/declarative/items/qsgpincharea.cpp
src/declarative/items/qsgtext.cpp
src/declarative/items/qsgtextedit.cpp
src/declarative/items/qsgtextinput.cpp
src/declarative/qml/parser/qdeclarativejsparser.cpp
src/declarative/qml/qdeclarativeengine.cpp
src/declarative/qml/qdeclarativemetatype.cpp
src/declarative/scenegraph/coreapi/qsgdefaultrenderer.cpp
src/declarative/scenegraph/coreapi/qsgrenderer.cpp
src/declarative/scenegraph/qsgcontextplugin.cpp
src/declarative/util/qdeclarativeapplication.cpp
src/declarative/util/qdeclarativestateoperations.cpp
src/imports/gestures/gestures.pro
src/imports/gestures/qdeclarativegesturearea_p.h
src/imports/inputcontext/declarativeinputcontext.h
src/imports/inputcontext/inputcontext.pro
src/imports/inputcontext/inputcontextfilter.cpp
src/imports/inputcontext/inputcontextmodule.cpp
src/imports/inputcontext/plugin.cpp
src/imports/particles/V1/qdeclarativeparticles.cpp
src/imports/particles/particles.pro
src/plugins/qmltooling/qmldbg_inspector/editor/qmltoolbar.cpp
src/plugins/qmltooling/qmldbg_inspector/editor/qmltoolbar.h
src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.h
src/qmltest/quicktest.h
src/qmltest/quicktestevent.cpp
src/qtquick1/graphicsitems/qdeclarativeborderimage.cpp
src/qtquick1/graphicsitems/qdeclarativeflipable.cpp
src/qtquick1/graphicsitems/qdeclarativefocuspanel.cpp
src/qtquick1/graphicsitems/qdeclarativeitem.cpp
src/qtquick1/graphicsitems/qdeclarativeitem.h
src/qtquick1/graphicsitems/qdeclarativeitem_p.h
src/qtquick1/graphicsitems/qdeclarativeitemsmodule.cpp
src/qtquick1/graphicsitems/qdeclarativerectangle.cpp
src/qtquick1/graphicsitems/qdeclarativetextinput.cpp
src/qtquick1/qtquick1.pro
src/qtquick1/util/qdeclarativeapplication.cpp
src/qtquick1/util/qdeclarativestateoperations.cpp
src/qtquick1/util/qdeclarativeview.cpp
src/qtquick1/util/qdeclarativeview.h
src/src.pro
tools/qmlscene/main.cpp

index aa638e4..d8126d0 100644 (file)
@@ -6,7 +6,7 @@ QPRO_PWD   = $$PWD
 CONFIG += module
 MODULE_PRI += ../../modules/qt_declarative.pri
 
-QT         = core-private gui-private script-private network script opengl-private
+QT         = core-private gui-private script-private network script opengl-private widgets-private
 contains(QT_CONFIG, svg): QT += svg
 DEFINES   += QT_BUILD_DECLARATIVE_LIB QT_NO_URL_CAST_FROM_STRING
 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x66000000
index 97234a6..6ee87cf 100644 (file)
@@ -47,9 +47,9 @@
 #include <QtCore/qdebug.h>
 #include "private/qsgcontext_p.h"
 
-#include <QtGui/qgraphicsitem.h>
-#include <QtGui/qapplication.h>
-#include <QtGui/qgraphicseffect.h>
+#include <QtWidgets/qgraphicsitem.h>
+#include <QtWidgets/qapplication.h>
+#include <QtWidgets/qgraphicseffect.h>
 #include <qdeclarativeinfo.h>
 #include <QtCore/qmath.h>
 #include "qdeclarativepixmapcache_p.h"
index ecb4e2b..a2af67c 100644 (file)
@@ -53,9 +53,9 @@
 #include <private/qabstractanimation_p.h>
 
 #include <QtGui/qpainter.h>
-#include <QtGui/qgraphicssceneevent.h>
+#include <QtWidgets/qgraphicssceneevent.h>
 #include <QtGui/qmatrix4x4.h>
-#include <QtGui/qinputcontext.h>
+#include <QtWidgets/qinputcontext.h>
 #include <QtCore/qvarlengtharray.h>
 #include <QtCore/qabstractanimation.h>
 
@@ -417,7 +417,6 @@ void QSGCanvas::sceneGraphChanged()
 //    d->needsRepaint = true;
 }
 
-
 QSGCanvasPrivate::QSGCanvasPrivate()
     : rootItem(0)
     , activeFocusItem(0)
index a5f69ff..2fb80bf 100644 (file)
@@ -44,7 +44,7 @@
 
 #include <QtCore/qmetatype.h>
 #include <QtOpenGL/qgl.h>
-#include <QtGui/qwidget.h>
+#include <QtWidgets/qwidget.h>
 
 QT_BEGIN_HEADER
 
index be6e97f..1d8f107 100644 (file)
@@ -45,8 +45,8 @@
 #include "qsgcanvas_p.h"
 
 #include <QtDeclarative/qdeclarativeinfo.h>
-#include <QtGui/qgraphicssceneevent.h>
-#include <QtGui/qapplication.h>
+#include <QtWidgets/qgraphicssceneevent.h>
+#include <QtWidgets/qapplication.h>
 #include "qplatformdefs.h"
 
 QT_BEGIN_NAMESPACE
index 55d84a7..5274e31 100644 (file)
@@ -51,9 +51,9 @@
 #include <QtDeclarative/qdeclarativeengine.h>
 #include <QtDeclarative/qdeclarativecomponent.h>
 #include <QtDeclarative/qdeclarativeinfo.h>
-#include <QtGui/qgraphicstransform.h>
+#include <QtWidgets/qgraphicstransform.h>
 #include <QtGui/qpen.h>
-#include <QtGui/qinputcontext.h>
+#include <QtWidgets/qinputcontext.h>
 #include <QtCore/qdebug.h>
 #include <QtCore/qcoreevent.h>
 #include <QtCore/qnumeric.h>
index 2cd2082..7dc43fb 100644 (file)
@@ -48,9 +48,9 @@
 
 #include <QtCore/QObject>
 #include <QtCore/QList>
-#include <QtGui/qgraphicssceneevent.h>
+#include <QtWidgets/qgraphicssceneevent.h>
 #include <QtGui/qfont.h>
-#include <QtGui/qaction.h>
+#include <QtWidgets/qaction.h>
 
 QT_BEGIN_HEADER
 
index ac577a4..b35c146 100644 (file)
@@ -45,8 +45,8 @@
 #include "qsgevent.h"
 #include "qsgevents_p_p.h"
 
-#include <QtGui/qgraphicssceneevent.h>
-#include <QtGui/qapplication.h>
+#include <QtWidgets/qgraphicssceneevent.h>
+#include <QtWidgets/qapplication.h>
 
 #include <float.h>
 
index 30ec75c..ff531c6 100644 (file)
@@ -56,7 +56,7 @@
 
 #include "qsgitem_p.h"
 
-#include <QtGui/qgraphicssceneevent.h>
+#include <QtWidgets/qgraphicssceneevent.h>
 #include <QtCore/qbasictimer.h>
 
 QT_BEGIN_NAMESPACE
index e10575c..0bc45fd 100644 (file)
@@ -48,8 +48,8 @@
 #include <private/qlistmodelinterface_p.h>
 
 #include <QtGui/qevent.h>
-#include <QtGui/qgraphicssceneevent.h>
-#include <QtGui/qapplication.h>
+#include <QtWidgets/qgraphicssceneevent.h>
+#include <QtWidgets/qapplication.h>
 #include <QtCore/qmath.h>
 #include <math.h>
 
index a9bf028..f86c18d 100644 (file)
@@ -42,8 +42,8 @@
 #include "qsgpincharea_p_p.h"
 #include "qsgcanvas.h"
 
-#include <QtGui/qgraphicssceneevent.h>
-#include <QtGui/qapplication.h>
+#include <QtWidgets/qgraphicssceneevent.h>
+#include <QtWidgets/qapplication.h>
 
 #include <float.h>
 #include <math.h>
index f3b2752..cc6a4b4 100644 (file)
 #include <private/qsgtexture_p.h>
 
 #include <QtDeclarative/qdeclarativeinfo.h>
-#include <QtGui/qgraphicssceneevent.h>
+#include <QtWidgets/qgraphicssceneevent.h>
 #include <QtGui/qabstracttextdocumentlayout.h>
 #include <QtGui/qpainter.h>
 #include <QtGui/qtextdocument.h>
 #include <QtGui/qtextobject.h>
 #include <QtGui/qtextcursor.h>
-#include <QtGui/qapplication.h>
+#include <QtWidgets/qapplication.h>
 
 #include <private/qdeclarativestyledtext_p.h>
 #include <private/qdeclarativepixmapcache_p.h>
index 4797630..00c9d5f 100644 (file)
@@ -45,8 +45,8 @@
 #include "qsgcanvas.h"
 
 #include <QtDeclarative/qdeclarativeinfo.h>
-#include <QtGui/qapplication.h>
-#include <QtGui/qgraphicssceneevent.h>
+#include <QtWidgets/qapplication.h>
+#include <QtWidgets/qgraphicssceneevent.h>
 #include <QtGui/qpainter.h>
 #include <QtGui/qtextobject.h>
 #include <QtCore/qmath.h>
index eb5e231..b60143a 100644 (file)
@@ -47,8 +47,8 @@
 #include <private/qwidget_p.h>
 
 #include <QtDeclarative/qdeclarativeinfo.h>
-#include <QtGui/qgraphicssceneevent.h>
-#include <QtGui/qinputcontext.h>
+#include <QtWidgets/qgraphicssceneevent.h>
+#include <QtWidgets/qinputcontext.h>
 #include <QTextBoundaryFinder>
 #include <qstyle.h>
 
@@ -465,7 +465,7 @@ void QSGTextInput::setEchoMode(QSGTextInput::EchoMode echo)
     Q_D(QSGTextInput);
     if (echoMode() == echo)
         return;
-    d->control->setEchoMode((uint)echo);
+    d->control->setEchoMode((QLineControl::EchoMode)echo);
     d->updateInputMethodHints();
     q_textChanged();
     emit echoModeChanged(echoMode());
index d820c5d..01132e5 100644 (file)
@@ -40,7 +40,7 @@
 ****************************************************************************/
 
 #include <QtCore/QtDebug>
-#include <QtGui/QApplication>
+#include <QtWidgets/QApplication>
 
 #include <string.h>
 
index cf672ef..8fdc7b1 100644 (file)
@@ -91,7 +91,7 @@
 #include <QtCore/qmutex.h>
 #include <QtGui/qcolor.h>
 #include <QtGui/qvector3d.h>
-#include <QtGui/qsound.h>
+#include <QtWidgets/qsound.h>
 #include <QtCore/qcryptographichash.h>
 
 #include <private/qobject_p.h>
index 18eea0b..c5cc23d 100644 (file)
@@ -1093,13 +1093,13 @@ QT_END_NAMESPACE
 #include <QtGui/qbrush.h>
 #include <QtGui/qcolor.h>
 #include <QtGui/qpalette.h>
-#include <QtGui/qicon.h>
+#include <QtWidgets/qicon.h>
 #include <QtGui/qimage.h>
 #include <QtGui/qpolygon.h>
 #include <QtGui/qregion.h>
 #include <QtGui/qbitmap.h>
 #include <QtGui/qcursor.h>
-#include <QtGui/qsizepolicy.h>
+#include <QtWidgets/qsizepolicy.h>
 #include <QtGui/qkeysequence.h>
 #include <QtGui/qpen.h>
 
index 382ac37..8af626e 100644 (file)
@@ -46,7 +46,7 @@
 #include "qsgmaterial.h"
 
 #include <QtCore/qvarlengtharray.h>
-#include <QtGui/qapplication.h>
+#include <QtWidgets/qapplication.h>
 #include <QtCore/qpair.h>
 #include <QtCore/QElapsedTimer>
 
index e5c6bfb..78551b1 100644 (file)
@@ -48,7 +48,7 @@
 
 #include <QGLShaderProgram>
 #include <qglframebufferobject.h>
-#include <QtGui/qapplication.h>
+#include <QtWidgets/qapplication.h>
 
 #include <qdatetime.h>
 
index b5e74e6..c744444 100644 (file)
@@ -41,7 +41,7 @@
 
 #include "qsgcontextplugin_p.h"
 #include <private/qsgcontext_p.h>
-#include <QtGui/qapplication.h>
+#include <QtWidgets/qapplication.h>
 #include <QtCore/private/qfactoryloader_p.h>
 #include <QtCore/qlibraryinfo.h>
 
index 11b0b63..f745ba6 100644 (file)
@@ -41,7 +41,7 @@
 
 #include "qdeclarativeapplication_p.h"
 #include <private/qobject_p.h>
-#include <QtGui/QApplication>
+#include <QtWidgets/QApplication>
 
 QT_BEGIN_NAMESPACE
 
index 0ced8eb..33ee99b 100644 (file)
@@ -53,7 +53,7 @@
 #include "private/qdeclarativestate_p_p.h"
 
 #include <QtCore/qdebug.h>
-#include <QtGui/qgraphicsitem.h>
+#include <QtWidgets/qgraphicsitem.h>
 #include <QtCore/qmath.h>
 
 #include <private/qobject_p.h>
index 5c009dd..76b31de 100644 (file)
@@ -2,7 +2,7 @@ TARGET  = qmlgesturesplugin
 TARGETPATH = Qt/labs/gestures
 include(../qimportbase.pri)
 
-QT += core-private gui-private declarative-private script-private qtquick1 qtquick1-private
+QT += core-private gui-private declarative-private script-private qtquick1 qtquick1-private widgets-private
 
 SOURCES += qdeclarativegesturearea.cpp plugin.cpp
 HEADERS += qdeclarativegesturearea_p.h
index 64da7f9..802703c 100644 (file)
@@ -48,7 +48,7 @@
 
 #include <QtCore/qobject.h>
 #include <QtCore/qstring.h>
-#include <QtGui/qgesture.h>
+#include <QtWidgets/qgesture.h>
 
 #ifndef QT_NO_GESTURES
 
index 757c6c4..9e6e65f 100644 (file)
@@ -42,7 +42,7 @@
 #ifndef DECLARATIVEINPUTCONTEXT_H
 #define DECLARATIVEINPUTCONTEXT_H
 
-#include <QtGui/qinputcontext.h>
+#include <QtWidgets/qinputcontext.h>
 
 QT_BEGIN_HEADER
 
index 9c7ddf4..af0d840 100755 (executable)
@@ -2,7 +2,7 @@ TARGET  = qmlinputcontextplugin
 TARGETPATH = Qt/labs/inputcontext
 include(../qimportbase.pri)
 
-QT += declarative script
+QT += declarative script widgets
 
 SOURCES += \
         declarativeinputcontext.cpp \
index 656a869..be89841 100644 (file)
@@ -43,7 +43,7 @@
 
 #include "declarativeinputcontext.h"
 
-#include <QtGui/qapplication.h>
+#include <QtWidgets/qapplication.h>
 
 QT_BEGIN_NAMESPACE
 
index d5f9161..578fb98 100644 (file)
@@ -44,9 +44,9 @@
 #include "declarativeinputcontext.h"
 
 #include <QtCore/qdebug.h>
-#include <QtGui/qapplication.h>
 #include <QtGui/qevent.h>
 #include <QtGui/qtextformat.h>
+#include <QtWidgets/qapplication.h>
 
 QT_BEGIN_NAMESPACE
 
index 36de469..a33aa47 100644 (file)
@@ -44,7 +44,7 @@
 #include "inputcontextmodule.h"
 
 #include <QtDeclarative/qdeclarativeextensionplugin.h>
-#include <QtGui/qapplication.h>
+#include <QtWidgets/qapplication.h>
 
 QT_BEGIN_NAMESPACE
 
index f307109..9224834 100644 (file)
@@ -48,7 +48,7 @@
 #include <QtCore/QAbstractAnimation>
 
 #include <QPainter>
-#include <QtGui/qdrawutil.h>
+#include <QtWidgets/qdrawutil.h>
 #include <QVarLengthArray>
 
 #include <stdlib.h>
index c73d068..7990656 100644 (file)
@@ -9,7 +9,7 @@ SOURCES += \
     particles.cpp \
     V1/qdeclarativeparticles.cpp 
 
-QT += declarative opengl core gui declarative-private core-private gui-private qtquick1 qtquick1-private
+QT += declarative opengl core gui declarative-private core-private gui-private qtquick1 qtquick1-private widgets-private
 
 OTHER_FILES += \
     qmldir
index 4e0e375..1f3a1e1 100644 (file)
 #include "qmltoolbar.h"
 #include "toolbarcolorbox.h"
 
-#include <QtGui/QLabel>
-#include <QtGui/QIcon>
-#include <QtGui/QAction>
-#include <QtGui/QMenu>
+#include <QtWidgets/QLabel>
+#include <QtWidgets/QIcon>
+#include <QtWidgets/QAction>
+#include <QtWidgets/QMenu>
 
 #include <QtCore/QDebug>
 
index 2abf166..177885f 100644 (file)
@@ -42,8 +42,8 @@
 #ifndef QMLTOOLBAR_H
 #define QMLTOOLBAR_H
 
-#include <QtGui/QToolBar>
-#include <QtGui/QIcon>
+#include <QtWidgets/QToolBar>
+#include <QtWidgets/QIcon>
 
 #include "../qmlinspectorconstants.h"
 
index 5ec278b..f688671 100644 (file)
@@ -42,6 +42,7 @@
 #ifndef QTCPSERVERCONNECTION_H
 #define QTCPSERVERCONNECTION_H
 
+#include <QtWidgets/QStylePlugin>
 #include <QtDeclarative/private/qdeclarativedebugserverconnection_p.h>
 
 QT_BEGIN_NAMESPACE
index ebf7ce6..1f8fe21 100644 (file)
@@ -43,7 +43,7 @@
 #define QUICKTEST_H
 
 #include <QtQuickTest/quicktestglobal.h>
-#include <QtGui/qwidget.h>
+#include <QtWidgets/qwidget.h>
 #ifdef QT_OPENGL_LIB
 #include <QtOpenGL/qgl.h>
 #endif
index 1be6a6f..67f1eef 100644 (file)
@@ -49,7 +49,7 @@
 #include <QtDeclarative/qsgcanvas.h>
 #define QUICK_TEST_SCENEGRAPH 1
 #endif
-#include <QtGui/qgraphicsscene.h>
+#include <QtWidgets/qgraphicsscene.h>
 
 QT_BEGIN_NAMESPACE
 
index e4683ee..8db733b 100644 (file)
@@ -49,6 +49,8 @@
 #include <QNetworkReply>
 #include <QFile>
 
+#include <QtWidgets/qdrawutil.h>
+
 QT_BEGIN_NAMESPACE
 
 
index a4f83c1..789cada 100644 (file)
@@ -46,7 +46,7 @@
 
 #include <QtDeclarative/qdeclarativeinfo.h>
 
-#include <QtGui/qgraphicstransform.h>
+#include <QtWidgets/qgraphicstransform.h>
 
 QT_BEGIN_NAMESPACE
 
index 4797033..b328571 100644 (file)
@@ -43,7 +43,7 @@
 
 #include "QtQuick1/private/qdeclarativeitem_p.h"
 
-#include <QtGui/qgraphicsscene.h>
+#include <QtWidgets/qgraphicsscene.h>
 #include <QEvent>
 
 QT_BEGIN_NAMESPACE
index d2bfc57..a4654e4 100644 (file)
 #include <QGraphicsSceneMouseEvent>
 #include <QtCore/qnumeric.h>
 #include <QtScript/qscriptengine.h>
-#include <QtGui/qgraphicstransform.h>
 
 #include <private/qv8engine_p.h>
+#include <QtWidgets/qgraphicstransform.h>
+#include <private/qlistmodelinterface_p.h>
 
 #include <float.h>
 
index a3f4931..609af80 100644 (file)
 
 #include <QtCore/QObject>
 #include <QtCore/QList>
-#include <QtGui/qgraphicsitem.h>
-#include <QtGui/qgraphicstransform.h>
 #include <QtGui/qfont.h>
-#include <QtGui/qaction.h>
+#include <QtWidgets/qgraphicsitem.h>
+#include <QtWidgets/qgraphicstransform.h>
+#include <QtWidgets/qaction.h>
 
 QT_BEGIN_HEADER
 
index 58d57ab..0604194 100644 (file)
@@ -72,7 +72,7 @@
 #include <QtCore/qrect.h>
 #include <QtCore/qdebug.h>
 
-#include <private/qgraphicsitem_p.h>
+#include <QtWidgets/private/qgraphicsitem_p.h>
 
 QT_BEGIN_NAMESPACE
 
index 47fd2dd..0a20b94 100644 (file)
 
 #include "QtQuick1/private/qdeclarativeitemsmodule_p.h"
 
-#include <QtGui/qaction.h>
+#include <QtWidgets/qaction.h>
 #include <QtGui/qvalidator.h>
-#include <QtGui/qgraphicseffect.h>
-#include <QtGui/qgraphicsitem.h>
+#include <QtWidgets/qgraphicseffect.h>
+#include <QtWidgets/qgraphicsitem.h>
 
 #include "QtQuick1/private/qdeclarativeevents_p_p.h"
 #include "QtQuick1/private/qdeclarativescalegrid_p_p.h"
index 4eb8a96..b67536c 100644 (file)
@@ -45,6 +45,7 @@
 #include <QPainter>
 #include <QStringBuilder>
 #include <QtCore/qmath.h>
+#include <QtWidgets/qdrawutil.h>
 
 QT_BEGIN_NAMESPACE
 
index a14d837..271595a 100644 (file)
@@ -900,7 +900,7 @@ void QDeclarative1TextInput::setEchoMode(QDeclarative1TextInput::EchoMode echo)
     Q_D(QDeclarative1TextInput);
     if (echoMode() == echo)
         return;
-    d->control->setEchoMode((uint)echo);
+    d->control->setEchoMode((QLineControl::EchoMode)echo);
     d->updateInputMethodHints();
     q_textChanged();
     emit echoModeChanged(echoMode());
index e3dd029..e7db606 100644 (file)
@@ -7,7 +7,7 @@ CONFIG += module
 CONFIG += dll warn_on
 MODULE_PRI += ../../modules/qt_qtquick1.pri
 
-QT += testlib-private declarative script testlib declarative-private core-private gui-private script-private network
+QT += testlib-private declarative script testlib declarative-private core-private gui-private script-private network widgets-private
 DEFINES += QT_NO_URL_CAST_FROM_STRING
 
 load(qt_module_config)
index 3cc572f..0947fe4 100644 (file)
@@ -41,7 +41,7 @@
 
 #include "QtQuick1/private/qdeclarativeapplication_p.h"
 #include <private/qobject_p.h>
-#include <QtGui/QApplication>
+#include <QtWidgets/QApplication>
 
 QT_BEGIN_NAMESPACE
 
index 47420f3..37ebe3e 100644 (file)
@@ -55,7 +55,7 @@
 #include <QtQuick1/private/qdeclarativestate_p_p.h>
 
 #include <QtCore/qdebug.h>
-#include <QtGui/qgraphicsitem.h>
+#include <QtWidgets/qgraphicsitem.h>
 #include <QtCore/qmath.h>
 
 #include <private/qobject_p.h>
index 32f2183..5f0e53a 100644 (file)
@@ -65,8 +65,8 @@
 #include <qgraphicswidget.h>
 #include <qbasictimer.h>
 #include <QtCore/qabstractanimation.h>
-#include <private/qgraphicsview_p.h>
 #include <QtQuick1/private/qdeclarativeitem_p.h>
+#include <QtWidgets/private/qgraphicsview_p.h>
 #include <private/qabstractanimation_p.h>
 #include <QtQuick1/private/qdeclarativeitemchangelistener_p.h>
 
index 39a2322..b655d28 100644 (file)
@@ -44,9 +44,9 @@
 
 #include <QtCore/qdatetime.h>
 #include <QtCore/qurl.h>
-#include <QtGui/qgraphicssceneevent.h>
-#include <QtGui/qgraphicsview.h>
-#include <QtGui/qwidget.h>
+#include <QtWidgets/qgraphicssceneevent.h>
+#include <QtWidgets/qgraphicsview.h>
+#include <QtWidgets/qwidget.h>
 
 QT_BEGIN_HEADER
 
index a8a33a7..b7407cc 100644 (file)
@@ -3,3 +3,4 @@ CONFIG += ordered
 SUBDIRS += declarative qtquick1 plugins
 contains(QT_CONFIG, qmltest): SUBDIRS += qmltest
 SUBDIRS += imports
+QT += script widgets widgets-private
index 1d3641b..705854a 100644 (file)
 
 #include <QtCore/qdebug.h>
 #include <QtCore/qabstractanimation.h>
-#include <QtGui/qapplication.h>
+#include <QtWidgets/qapplication.h>
 #include <QtDeclarative/qdeclarative.h>
 #include <QtDeclarative/qdeclarativeengine.h>
 #include <QtDeclarative/qdeclarativecomponent.h>
 #include <QtQuick1/qdeclarativeview.h>
 #include <QtCore/qdir.h>
-#include <QtGui/QFormLayout>
-#include <QtGui/QComboBox>
-#include <QtGui/QCheckBox>
-#include <QtGui/QDialog>
-#include <QtGui/QDialogButtonBox>
-#include <QtGui/QFileDialog>
-#include <QtGui/QGraphicsView>
+#include <QtWidgets/QFormLayout>
+#include <QtWidgets/QComboBox>
+#include <QtWidgets/QCheckBox>
+#include <QtWidgets/QDialog>
+#include <QtWidgets/QDialogButtonBox>
+#include <QtWidgets/QFileDialog>
+#include <QtWidgets/QGraphicsView>
 
 #include <QtDeclarative/qdeclarativecontext.h>
 #include <private/qdeclarativedebughelper_p.h>