WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
79335
[Qt] Build fix. Qt WebKit2 can not be compiled due to QtWebPageEventHandler.
https://bugs.webkit.org/show_bug.cgi?id=79335
Summary
[Qt] Build fix. Qt WebKit2 can not be compiled due to QtWebPageEventHandler.
Dongseong Hwang
Reported
2012-02-22 23:34:56 PST
I can not build WebKit2 on qt5 because QtWebPageEventHandler calls m_webView->setInputMethodHints(Qt::InputMethodHints(editor.inputMethodHints));.
Attachments
patch
(1.72 KB, patch)
2012-02-22 23:36 PST
,
Dongseong Hwang
hausmann
: review-
hausmann
: commit-queue-
Details
Formatted Diff
Diff
Patch
(2.49 KB, patch)
2012-02-23 06:16 PST
,
Simon Hausmann
no flags
Details
Formatted Diff
Diff
Patch
(2.50 KB, patch)
2012-02-23 06:18 PST
,
Simon Hausmann
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Dongseong Hwang
Comment 1
2012-02-22 23:36:37 PST
Created
attachment 128407
[details]
patch
Simon Hausmann
Comment 2
2012-02-23 00:16:01 PST
Comment on
attachment 128407
[details]
patch Well, but this isn't quite correct either, we still _do_ need to propagate the input method hints to the input method. It's just that the mechanism has changed slightly. FWIW, the Qt 5 version that we're developing against currently still has this method (see webkit-qt mailing list of announcements of version changes). That said, QQuickItem::setInputMethodHints has always been a convenience function for not having to re-implement the inputMethodQuery. Since we do that anyway though, we can apply a fix that works with any Qt 5 version, by responding to the Qt::ImHints input method query and returning the hints from the editor state there.
Dongseong Hwang
Comment 3
2012-02-23 00:44:01 PST
Ok. I little know about Qt5, so I can not fix it. I want someone to fix it.
Dongseong Hwang
Comment 4
2012-02-23 00:44:13 PST
(In reply to
comment #0
)
> I can not build WebKit2 on qt5 because QtWebPageEventHandler calls m_webView->setInputMethodHints(Qt::InputMethodHints(editor.inputMethodHints));.
QQuickItem does not have a setInputMethodHints(Qt::InputMethodHints hints) method.
Simon Hausmann
Comment 5
2012-02-23 06:11:48 PST
***
Bug 79250
has been marked as a duplicate of this bug. ***
Simon Hausmann
Comment 6
2012-02-23 06:16:13 PST
Created
attachment 128472
[details]
Patch
Simon Hausmann
Comment 7
2012-02-23 06:18:03 PST
Created
attachment 128474
[details]
Patch Patch that actually compiles :)
Csaba Osztrogonác
Comment 8
2012-02-23 10:35:22 PST
Comment on
attachment 128474
[details]
Patch Clearing flags on attachment: 128474 Committed
r108639
: <
http://trac.webkit.org/changeset/108639
>
Csaba Osztrogonác
Comment 9
2012-02-23 10:35:31 PST
All reviewed patches have been landed. Closing bug.
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