WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 25242
25233
[Qt] WebKit Qt build fails on Qt 4.4.x
https://bugs.webkit.org/show_bug.cgi?id=25233
Summary
[Qt] WebKit Qt build fails on Qt 4.4.x
Erik L. Bunce
Reported
2009-04-16 04:39:19 PDT
Compile error in tst_qwebelement.cpp when compiled with Qt 4.4.2: /Users/erik/work/webkit-qt44/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp: In member function ‘void tst_QWebElement::iteration()’: /Users/erik/work/webkit-qt44/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp:304: error: ‘class QList<QWebElement>’ has no member named ‘length’ /Users/erik/work/webkit-qt44/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp:305: error: ‘class QList<QWebElement>’ has no member named ‘length’ /Users/erik/work/webkit-qt44/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp:305: error: ‘class QList<QWebElement>’ has no member named ‘length’ /Users/erik/work/webkit-qt44/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp:313: error: ‘class QList<QWebElement>’ has no member named ‘length’ /Users/erik/work/webkit-qt44/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp:314: error: ‘class QList<QWebElement>’ has no member named ‘length’ /Users/erik/work/webkit-qt44/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp:314: error: ‘class QList<QWebElement>’ has no member named ‘length’ This is because QList::length() was added as an alias to QList::count() in Qt 4.5.0.
Attachments
Fix to make tst_qwebelement.cpp build under Qt 4.4.x.
(1.63 KB, patch)
2009-04-16 04:42 PDT
,
Erik L. Bunce
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Erik L. Bunce
Comment 1
2009-04-16 04:42:31 PDT
Created
attachment 29534
[details]
Fix to make tst_qwebelement.cpp build under Qt 4.4.x. replaces QList::length() with QList::count() which exists in both Qt 4.4 and 4.5.
Simon Hausmann
Comment 2
2009-04-17 01:50:58 PDT
Sorry Erik, I saw Laszlo's patch first :) *** This bug has been marked as a duplicate of
25242
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug