[Development] Need help with QT 5.2.1 compile error : 'class WebCore::Console' has no member named 'addMessage'

Jing Gao gaojing29.developer at gmail.com
Mon Feb 24 07:40:14 CET 2014


Hello everyone:
    I am new to QT, i want to cross compile QT && QTWebkit to run on a imx6
based board,  enable xslt and accelerated-2d-canvas support in webkit,
the following command are used to build QT.

1. compile qt
./configure -opensource -confirm-license -make libs -device imx6
-device-option CROSS_COMPILE=arm-fsl-linux-gnueabi-
--prefix=/home/ubuntu/dev/qt-5.2.1 -I/home/ubuntu/dev/sdk/icu_lib/include
-sysroot /home/ubuntu/dev/rootfs -no-gcc-sysroot -no-pch -opengl es2
-no-pkg-config -no-c++11 -debug -skip webkit

make && make install
2. compile webkit
export PATH=/home/ubuntu/dev/qt-5.2.1/bin:$PATH

Tools/Scripts/build-webkit --qt
--install-headers=/home/ubuntu/dev/rootfs/home/ubuntu/dev/qt-5.2.1/include
--install-libs=/home/ubuntu/dev/rootfs/home/ubuntu/dev/qt-5.2.1/lib
--accelerated-2d-canvas --xslt --debug

During the building process of webkit, i met the following error, can
someone help with the compile error?

/home/ubuntu/dev/qt-everywhere-opensource-src-5.2.1/qtwebkit/Source/WebCore/xml/XSLTProcessorQt.cpp:
In member function 'virtual void
WebCore::XSLTMessageHandler::handleMessage(QtMsgType, const QString&, const
QUrl&, const QSourceLocation&)':
/home/ubuntu/dev/qt-everywhere-opensource-src-5.2.1/qtwebkit/Source/WebCore/xml/XSLTProcessorQt.cpp:87:14:
error: 'class WebCore::Console' has no member named 'addMessage'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140224/bdaa2a0a/attachment.html>


More information about the Development mailing list