Created attachment 171090 [details] Compile errors Building QtWebKit as part of Qt 5 fails when trying to link QtWebKitWidgetsd5.dll: undefined reference to JSC::JSCell::classInfo() const. Compiler: MinGW-builds GCC 4.7.2 64-bit Configuration: WebKit1 (no ANGLE) Build Instructions: http://qt-project.org/wiki/MinGW-64-bit#03f79f4f892018f670751240946380e3
QtWebKitWidgets5.dll compiles fine so the problem is only when doing a debug build of the library.
Seems the problem may be related to http://trac.webkit.org/changeset/130303
Reported also in Qt Jira: https://bugreports.qt-project.org/browse/QTBUG-27764
I can reproduce this with MinGW-builds 4.7.2 gcc 32 bit, so it's not a 64 bit issue.
JSC::JSCell::classInfo() is defined as an inline method (outside of class declaration) in JSDestructibleObject.h . I guess the compiler gets confused about this ...
Alright, I was able to fix this locally by merging the content of JSDestructibleObject.h (which defines JSCell::classInfo()) into JSObject.h . However JSDestructibleObject.h was removed in webkit/trunk anyway (commit 75dbf611bc), so I have hopes that the next qtwebkit update fixes this, too.
Kai, can you confirm that current qtwebkit in qt5.git fixes this issue?
No, can't confirm. It's just shadowed by yet another one: https://bugs.webkit.org/show_bug.cgi?id=103491
Removing from the Qt 5.0.0 blockers as we're not going to have mingw binaries it seems.
It is working now.