[Webkit-unassigned] [Bug 32732] New: addition of setTouchMocking breaks builds with Qt < 4.6.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 18 12:44:01 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32732

           Summary: addition of setTouchMocking breaks builds with Qt <
                    4.6.0
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Blocker
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kkyzivat at ovi.com


When compiling svn 52312 for Qt under Linux with Qt 4.5.0, I received the
following compilation error:

Creating hashtable for ../../../JavaScriptCore/runtime/StringPrototype.cpp
In file included from
/home/kyzivat/builds/WebKit/WebKit/qt/QtLauncher/main.cpp:702:
./main.moc: In member function ‘virtual int
MainWindow::qt_metacall(QMetaObject::Call, int, void**)’:
./main.moc:215: error: ‘setTouchMocking’ was not declared in this scope
make[1]: *** [main.o] Error 1
make: *** [sub-WebKit-qt-QtLauncher-make_default-ordered] Error 2

Looking at WebKit/qt/QtLauncher/main.cpp, I see that setTouchMocking is only
included if Qt version is >= 4.6.0.
Thus, in my environment, it would not include setTouchMocking implementation.
When Qt builds main.moc, it seems not to honor the #ifdef directive, and
erroneously creates binding for setTouchMocking.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list