Hi,
I am trying to build qtWebkit for qt4.8.4 in a linux system with webRTC enabled. for that i have run the build script as follows Tools/Scripts/build-webkit —qt —media-stream —media-source —media-capture —no-webkit2
i have edited the Target.pri file and added
contains(DEFINES, ENABLE_MEDIA_STREAM=1) {
HEADERS += \
platform/mediastream/MediaConstraints.h \
platform/mediastream/MediaStreamSource.h \
platform/mediastream/RTCIceCandidateDescriptor.h \
platform/mediastream/RTCSessionDescriptionRequest.h \
platform/mediastream/MediaStreamCenter.h \
platform/mediastream/MediaStreamSourcesQueryClient.h \
platform/mediastream/RTCPeerConnectionHandlerClient.h \
platform/mediastream/RTCStatsRequest.h \
platform/mediastream/MediaStreamComponent.h \
platform/mediastream/RTCConfiguration.h \
platform/mediastream/RTCPeerConnectionHandler.h \
platform/mediastream/RTCStatsResponseBase.h \
platform/mediastream/MediaStreamDescriptor.h \
platform/mediastream/RTCDataChannelDescriptor.h \
platform/mediastream/RTCSessionDescriptionDescriptor.h \
platform/mediastream/RTCVoidRequest.h \
platform/mediastream/chromium/MediaStreamCenterChromium.h \
platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h
SOURCES += \
platform/chromium/support/WebMediaConstraints.cpp \
platform/chromium/support/WebMediaStreamComponent.cpp \
platform/chromium/support/WebMediaStreamDescriptor.cpp \
platform/chromium/support/WebMediaStreamSource.cpp \
platform/chromium/support/WebMediaStreamSourcesRequest.cpp \
platform/chromium/support/WebRTCDataChannel.cpp \
platform/chromium/support/WebRTCICECandidate.cpp \
platform/chromium/support/WebRTCSessionDescription.cpp \
platform/chromium/support/WebRTCSessionDescriptionRequest.cpp \
platform/chromium/support/WebRTCStatsRequest.cpp \
platform/chromium/support/WebRTCStatsResponse.cpp \
platform/chromium/support/WebRTCVoidRequest.cpp \
platform/chromium/support/WebRTCConfiguration.cpp \
platform/chromium/support/WebURL.cpp \
../Platform/chromium/src/Platform.cpp \
../Platform/chromium/src/WebString.cpp \
../Platform/chromium/src/WebCString.cpp
}
And added the corresponding include path in the WebCore.pri
also added the idl files to DerivedSource.pri
Now when i compile i am getting an error as
In file included from /home/centaur/qtwebkit2.3/webkit-qtwebkit-23/Source/WebCore/platform/chromium/support/WebRTCConfiguration.cpp:39:
/home/centaur/qtwebkit2.3/webkit-qtwebkit-23/Source/Platform/chromium/public/WebURL.h:35:37: error: googleurl/src/url_parse.h: No such file or directory
In file included from /home/centaur/qtwebkit2.3/webkit-qtwebkit-23/Source/WebCore/platform/chromium/support/WebRTCConfiguration.cpp:39:
/home/centaur/qtwebkit2.3/webkit-qtwebkit-23/Source/Platform/chromium/public/WebURL.h:55: error: ISO C++ forbids declaration of url_parse with no type
/home/centaur/qtwebkit2.3/webkit-qtwebkit-23/Source/Platform/chromium/public/WebURL.h:55: error: expected , or ... before :: token
/home/centaur/qtwebkit2.3/webkit-qtwebkit-23/Source/Platform/chromium/public/WebURL.h:81: error: argument of type bool (WebKit::WebURL::)()const does not match bool
make[2]: *** [obj/release/WebRTCConfiguration.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/centaur/qtwebkit2.3/webkit-qtwebkit-23/WebKitBuild/Release/Source/WebCore'
make[1]: *** [sub-Target-pri-make_default-ordered] Error 2
make[1]: Leaving directory `/home/centaur/qtwebkit2.3/webkit-qtwebkit-23/WebKitBuild/Release/Source/WebCore'
make: *** [sub-Source-WebCore-WebCore-pro-make_default-ordered] Error 2
now i cant find googleurl/src/url_parse.h any where in my source code.
How can i make a clean build.
my objective is to enable webrtc in the qtwebkit
I am using *qtwebkit2.3 downloaded from https://gitorious.org/+qtwebkit-developers/webkit/qtwebkit-23*
and version of QT is QT4.8.4
qmake version is
QMake version 2.01a
Using Qt version 4.8.4 in /usr/local/Trolltech/Qt-4.8.4/lib
Please help.
↧