[Qt-creator] Compilation issues while building webkit on QTCreator
Rajasekhar M
mail2rsekhar at gmail.com
Wed May 12 14:32:22 CEST 2010
Hi,
To run through the webkit source code using simulator, i was trying to
build it over QT-Creator, I followed the following steps.
*1. Installed Nokia QT SDK linux flavour.*
*2. Opened the project "NokiaQtSDK/QtSources/4.7.0/src/3rdparty/webkit/
webkit.pro"*
*3. Build Settings :*
* "**qmake-qt4 Webkit.pro -r spec linux-g++ CONFIG+=debug"*
it failed with the following errors. Any clue on how to resolve these ?
-----------------------------------------------------------------------------------------------------------------------------------------------
In file included from
/home/test/NokiaQtSDK/Simulator/Qt/gcc/include/QtGui/QX11EmbedContainer:1,
from ../../webkit/WebCore/plugins/qt/PluginContainerQt.h:22,
from ../../webkit/WebCore/plugins/qt/PluginContainerQt.cpp:21:
/home/test/NokiaQtSDK/Simulator/Qt/gcc/include/QtGui/qx11embed_x11.h:77:
error: XEvent has not been declared
/home/test/NokiaQtSDK/Simulator/Qt/gcc/include/QtGui/qx11embed_x11.h:115:
error: XEvent has not been declared
In file included from
../../webkit/WebCore/plugins/qt/PluginContainerQt.cpp:21:
../../webkit/WebCore/plugins/qt/PluginContainerQt.h:38: error: XEvent has
not been declared
../../webkit/WebCore/plugins/qt/PluginContainerQt.h:56: error: XEvent has
not been declared
../../webkit/WebCore/plugins/qt/PluginContainerQt.cpp:56: error: prototype
for bool WebCore::PluginClientWrapper::x11Event(XEvent*) does not match any
in class WebCore::PluginClientWrapper
../../webkit/WebCore/plugins/qt/PluginContainerQt.h:56: error: candidate is:
bool WebCore::PluginClientWrapper::x11Event(int*)
../../webkit/WebCore/plugins/qt/PluginContainerQt.cpp: In member function
void WebCore::PluginContainerQt::redirectWheelEventsToParent(bool):
../../webkit/WebCore/plugins/qt/PluginContainerQt.cpp:110: error: x11Info
was not declared in this scope
../../webkit/WebCore/plugins/qt/PluginContainerQt.cpp:113: error: x11Info
was not declared in this scope
../../webkit/WebCore/plugins/qt/PluginContainerQt.cpp: At global scope:
../../webkit/WebCore/plugins/qt/PluginContainerQt.cpp:117: error: prototype
for bool WebCore::PluginContainerQt::x11Event(XEvent*) does not match any in
class WebCore::PluginContainerQt
../../webkit/WebCore/plugins/qt/PluginContainerQt.h:38: error: candidate is:
virtual bool WebCore::PluginContainerQt::x11Event(int*)
make[1]: Leaving directory
`/home/test/NokiaQtSDK/QtSources/4.7.0/src/3rdparty/WebKit-build/WebCore'
make[1]: *** [PluginContainerQt.o] Error 1
make: Leaving directory
`/home/test/NokiaQtSDK/QtSources/4.7.0/src/3rdparty/WebKit-build'
make: *** [sub-WebCore-make_default-ordered] Error 2
Exited with code 2.
Error while building project WebKit (target: Qt Simulator)
When executing build step 'Make'
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks
Raja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100512/43ae7ebb/attachment.html
More information about the Qt-creator-old
mailing list