Bug 146892
Summary: | [GTK] ENABLE_TOUCH_EVENTS=OFF allowed but then it can't compile | ||
---|---|---|---|
Product: | WebKit | Reporter: | nick <unixman> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply, csaavedra |
Priority: | P2 | ||
Version: | 420+ | ||
Hardware: | PC | ||
OS: | Linux |
nick
when i am trying to build gtk port cmake allow generating makefile in case of -DENABLE_TOUCH_EVENTS=OFF
But gtk unconditionally presume as it is enabled. So in compilation stage i get:
In file included from /home/me/src/webkitgtk-2.9.3/Source/WebKit2/WebProcess/WebPage/WebPage.cpp:75:0:
/home/me/src/webkitgtk-2.9.3/Source/WebKit2/Shared/gtk/WebEventFactory.h:42:12: error: ‘WebTouchEvent’ does not name a type
static WebTouchEvent createWebTouchEvent(const GdkEvent*, Vector<WebPlatformTouchPoint>&&);
webkitgtk-2.9.3
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
nick
And similar errors for other touch related classes.
Claudio Saavedra
This doesn't seem to be failing anymore in the way it's described here, although there were a couple of build errors in unrelated sources that were not including the GTK+ header file and were indirectly getting it from a touch events header. I fixed those in https://trac.webkit.org/changeset/227606.