Changeset 107221 in webkit
- Timestamp:
- Feb 9, 2012 4:50:46 AM (12 years ago)
- Location:
- trunk/Source/WebKit/qt
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/qt/Api/qgraphicswebview.cpp
r97571 r107221 41 41 #include <qscrollbar.h> 42 42 #include <qstyleoption.h> 43 #include <qinputcontext.h>44 43 #include <QtCore/qmetaobject.h> 45 44 #include <QtCore/qsharedpointer.h> -
trunk/Source/WebKit/qt/ChangeLog
r107085 r107221 1 2012-02-09 Simon Hausmann <simon.hausmann@nokia.com> 2 3 [Qt] Fix compilation with newer Qt5 4 https://bugs.webkit.org/show_bug.cgi?id=77653 5 6 Reviewed by Tor Arne Vestbø. 7 8 * Api/qgraphicswebview.cpp: Removed unnecessary inclusion of removed header file. 9 * declarative/public.pri: Use quick1 instead of qtquick1. It's mandator with Qt 5. 10 * tests/tests.pri: Ditto. 11 * declarative/qdeclarativewebview_p.h: Fix includes, just use the module-less 12 version that works with all Qt versions. 13 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Ditto. 14 1 15 2012-02-08 Leo Franchi <lfranchi@kde.org> 2 16 -
trunk/Source/WebKit/qt/declarative/public.pri
r105897 r107221 28 28 29 29 QT += declarative 30 haveQt(5): QT += widgets quick 31 32 contains(QT_CONFIG, qtquick1): { 33 QT += qtquick1 34 } 30 haveQt(5): QT += widgets quick quick1 35 31 36 32 DESTDIR = $${ROOT_BUILD_DIR}/imports/$${TARGET.module_name} -
trunk/Source/WebKit/qt/declarative/qdeclarativewebview_p.h
r96345 r107221 22 22 #define qdeclarativewebview_p_h 23 23 24 #include <QAction> 25 #include <QDeclarativeItem> 24 26 #include <QtCore/QBasicTimer> 25 27 #include <QtCore/QUrl> 26 27 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)28 #include <QtQuick1/QDeclarativeItem>29 #include <QtWidgets/QAction>30 #else31 #include <QtDeclarative/QDeclarativeItem>32 #include <QtGui/QAction>33 #endif34 35 28 #include <QtNetwork/QNetworkAccessManager> 36 29 #include "qgraphicswebview.h" -
trunk/Source/WebKit/qt/tests/qdeclarativewebview/tst_qdeclarativewebview.cpp
r99235 r107221 3 3 #include <QColor> 4 4 #include <QDebug> 5 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)6 #include <QtQuick1/QDeclarativeItem>7 #include <QtQuick1/QDeclarativeView>8 #else9 5 #include <QDeclarativeItem> 10 6 #include <QDeclarativeView> 11 #endif12 7 #include <QDeclarativeComponent> 13 8 #include <QDeclarativeEngine> -
trunk/Source/WebKit/qt/tests/tests.pri
r100123 r107221 23 23 24 24 haveQt(5) { 25 contains(QT_CONFIG, qtquick1): QT += declarative qtquick125 QT += declarative quick1 26 26 } else { 27 27 contains(QT_CONFIG, declarative): QT += declarative
Note: See TracChangeset
for help on using the changeset viewer.