RESOLVED FIXED 56712
[Qt] Remove support for Qt 4.6
https://bugs.webkit.org/show_bug.cgi?id=56712
Summary [Qt] Remove support for Qt 4.6
Andreas Kling
Reported 2011-03-19 11:25:13 PDT
As discussed on mailing list(s), we should remove support for Qt 4.6 from trunk.
Attachments
Proposed patch (23.73 KB, patch)
2011-03-19 11:26 PDT, Andreas Kling
benjamin: review-
Proposed patch v2 (25.33 KB, patch)
2011-03-19 11:54 PDT, Andreas Kling
benjamin: review+
Andreas Kling
Comment 1 2011-03-19 11:26:48 PDT
Created attachment 86268 [details] Proposed patch
Benjamin Poulain
Comment 2 2011-03-19 11:47:06 PDT
Comment on attachment 86268 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=86268&action=review > Source/WebCore/platform/graphics/qt/FontQt.cpp:180 > + Empty line? :) > Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:44 > #define SIGNAL_CONN Qt::DirectConnection Why not replacing all the instance of SIGNAL_CONN by Qt::DirectConnection? > Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:382 > response.setHTTPHeaderField(QString::fromAscii(pair.first), QString::fromAscii(pair.second)); for a follow up: QString::fromAscii() should be QString::fromLatin1().
Andreas Kling
Comment 3 2011-03-19 11:54:13 PDT
Created attachment 86269 [details] Proposed patch v2
Benjamin Poulain
Comment 4 2011-03-19 12:03:05 PDT
Comment on attachment 86269 [details] Proposed patch v2 View in context: https://bugs.webkit.org/attachment.cgi?id=86269&action=review R+ :) Just update the code to match the coding style before landing. > Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:553 > if (m_resourceHandle->firstRequest().reportUploadProgress()) { > - connect(m_reply, SIGNAL(uploadProgress(qint64, qint64)), > - this, SLOT(uploadProgress(qint64, qint64)), SIGNAL_CONN); > + connect(m_reply, SIGNAL(uploadProgress(qint64, qint64)), this, SLOT(uploadProgress(qint64, qint64))); > } Coding style, you don't need the brackets.
Andreas Kling
Comment 5 2011-03-19 12:08:05 PDT
Yury Semikhatsky
Comment 6 2011-03-22 22:29:11 PDT
http://trac.webkit.org/wiki/BuildingQtOnLinux needs update. It states that minimal Qt version is still 4.6
Benjamin Poulain
Comment 7 2011-03-23 03:53:40 PDT
(In reply to comment #6) > http://trac.webkit.org/wiki/BuildingQtOnLinux needs update. It states that minimal Qt version is still 4.6 Thanks for reporting the doc issue, I fixed the wiki.
Note You need to log in before you can comment on or make changes to this bug.