Looks releated to an issue recently posted on Qt-interest:

------------------------

On Nov 26, 2009, at 2:54 PM, Neville Dastur wrote:

After many fruitless hours of googling (using the wrong search terms, apparently) and about half a dozen two-hour-long failed rebuilds of Qt, I finally discovered the problem with building webkit had to do with the MySQL include files - specifically, MySQL has a plugin.h that conflicts with WebKits plugin.h - when building, it includes the wrong one. I removed the plugin.h file from the mysql include path, and the build was happy, at least for release (debug build failed when it ran out of memory). Probably a better approach would have been to edit the WebKit make files to remove the MySQL include line, as WebKit doesn't need mysql. So I now have webkit working, and it displays the help file properly.

-Richard

------------------------



On Nov 28, 2009, at 1:47 PM, Bastian Bense wrote:

Hello,

I'm having some trouble compiling Qt 4.6 (4.6, 4.6-stable and even the release candidate) on Mac OS X 10.6.2.

Configuration:
/Devel/qt/configure \
    -fast  \
    -opensource  \
    -confirm-license  \
    -qt-sql-sqlite  \
    -qt-sql-mysql  \
    -nomake "demos examples"  \
    -silent  \
    -qt-sql-mysql  \
    -release  \
    -I /usr/local/libmysql/include  \
    -L /usr/local/libmysql/lib

Running make:

[...]
compiling /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSCustomPositionErrorCallback.cpp compiling /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSCustomVoidCallback.cpp compiling /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSCustomXPathNSResolver.cpp compiling /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDataGridColumnListCustom.cpp compiling /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDataGridDataSource.cpp compiling /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDocumentCustom.cpp compiling /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDocumentFragmentCustom.cpp compiling /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDOMGlobalObject.cpp compiling /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDOMWindowBase.cpp compiling /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDOMWindowCustom.cpp /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDOMWindowCustom.cpp: In member function ‘JSC::JSValue WebCore::JSDOMWindow::atob(JSC::ExecState*, const JSC::ArgList&)’: /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDOMWindowCustom.cpp:1015: error: ‘base64Decode’ was not declared in this scope /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDOMWindowCustom.cpp: In member function ‘JSC::JSValue WebCore::JSDOMWindow::btoa(JSC::ExecState*, const JSC::ArgList&)’: /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDOMWindowCustom.cpp:1041: error: ‘base64Encode’ was not declared in this scope compiling /Devel/qt/src/3rdparty/webkit/WebCore/bindings/js/ JSDOMWindowShell.cpp
make[2]: *** [obj/release/JSDOMWindowCustom.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [release] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2
bbense-mbp:qt bbense$


Any ideas what might be causing this are welcome!
I tried distclean, removing the qt build directory and I also searched for any corrupted, stale .qmake.cache files in the directory tree. I also experimented with enabling/disabling qt modules, with no success.

Qt builds fine on Windows and Linux.

--
Best regards,
Bastian Bense


_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to