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'
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to