[webkit-qt] QtWebKit 2.3.1 and Qt-4.8.4
Massimo Callegari
massimocallegari at yahoo.it
Tue Apr 23 04:14:41 PDT 2013
Alan, thanks for the prompt answer.
I tried to compile as explained with this:
export QTDIR=/usr
Tools/Scripts/build-webkit --qt --release --no-webkit2 --no-force-sse2
And I got basically the same error as before:
g++ -c -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -pipe -ffunction-sections -fdata-sections -Wno-c++0x-compat -O2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -D_REENTRANT -DQT_WEBKIT -DWTF_USE_LIBJPEG=1 -DWTF_USE_LIBPNG=1 -DQT_MAKEDLL -DBUILDING_QT__=1 -DNDEBUG -DBUILDING_WebCore -DBUILDING_WEBKIT -DQT_ASCII_CAST_WARNINGS -DSTATICALLY_LINKED_WITH_JavaScriptCore -DSTATICALLY_LINKED_WITH_WTF -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/home/dev/webkit-qtwebkit-23/Source/WebCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I/home/dev/webkit-qtwebkit-23/Source/WebCore -I/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/filesystem
-I/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/geolocation -I/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/indexeddb -I/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/navigatorcontentutils -I/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/notifications -I/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/quota -I/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webaudio -I/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase -I/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/websockets -I/home/dev/webkit-qtwebkit-23/Source/WebCore/accessibility -I/home/dev/webkit-qtwebkit-23/Source/WebCore/bindings -I/home/dev/webkit-qtwebkit-23/Source/WebCore/bindings/generic -I/home/dev/webkit-qtwebkit-23/Source/WebCore/bridge -I/home/dev/webkit-qtwebkit-23/Source/WebCore/bridge/qt -I/home/dev/webkit-qtwebkit-23/Source/WebCore/css -I/home/dev/webkit-qtwebkit-23/Source/WebCore/dom
-I/home/dev/webkit-qtwebkit-23/Source/WebCore/dom/default -I/home/dev/webkit-qtwebkit-23/Source/WebCore/editing -I/home/dev/webkit-qtwebkit-23/Source/WebCore/fileapi -I/home/dev/webkit-qtwebkit-23/Source/WebCore/history -I/home/dev/webkit-qtwebkit-23/Source/WebCore/html -I/home/dev/webkit-qtwebkit-23/Source/WebCore/html/canvas -I/home/dev/webkit-qtwebkit-23/Source/WebCore/html/parser -I/home/dev/webkit-qtwebkit-23/Source/WebCore/html/shadow -I/home/dev/webkit-qtwebkit-23/Source/WebCore/html/track -I/home/dev/webkit-qtwebkit-23/Source/WebCore/inspector -I/home/dev/webkit-qtwebkit-23/Source/WebCore/loader -I/home/dev/webkit-qtwebkit-23/Source/WebCore/loader/appcache -I/home/dev/webkit-qtwebkit-23/Source/WebCore/loader/archive -I/home/dev/webkit-qtwebkit-23/Source/WebCore/loader/cache -I/home/dev/webkit-qtwebkit-23/Source/WebCore/loader/icon -I/home/dev/webkit-qtwebkit-23/Source/WebCore/mathml -I/home/dev/webkit-qtwebkit-23/Source/WebCore/page
-I/home/dev/webkit-qtwebkit-23/Source/WebCore/page/animation -I/home/dev/webkit-qtwebkit-23/Source/WebCore/page/qt -I/home/dev/webkit-qtwebkit-23/Source/WebCore/page/scrolling -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/animation -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/audio -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/graphics -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/graphics/cpu/arm -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/graphics/cpu/arm/filters -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/graphics/filters -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/graphics/filters/texmap -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/graphics/opengl -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/graphics/opentype -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/graphics/qt
-I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/graphics/surfaces -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/graphics/texmap -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/graphics/transforms -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/image-decoders -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/image-decoders/bmp -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/image-decoders/ico -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/image-decoders/gif -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/image-decoders/jpeg -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/image-decoders/png -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/image-decoders/webp -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/leveldb -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/mock -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/network
-I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/network/qt -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/qt -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/sql -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/text -I/home/dev/webkit-qtwebkit-23/Source/WebCore/platform/text/transcoder -I/home/dev/webkit-qtwebkit-23/Source/WebCore/plugins -I/home/dev/webkit-qtwebkit-23/Source/WebCore/rendering -I/home/dev/webkit-qtwebkit-23/Source/WebCore/rendering/mathml -I/home/dev/webkit-qtwebkit-23/Source/WebCore/rendering/style -I/home/dev/webkit-qtwebkit-23/Source/WebCore/rendering/svg -I/home/dev/webkit-qtwebkit-23/Source/WebCore/storage -I/home/dev/webkit-qtwebkit-23/Source/WebCore/svg -I/home/dev/webkit-qtwebkit-23/Source/WebCore/svg/animation -I/home/dev/webkit-qtwebkit-23/Source/WebCore/svg/graphics -I/home/dev/webkit-qtwebkit-23/Source/WebCore/svg/graphics/filters -I/home/dev/webkit-qtwebkit-23/Source/WebCore/svg/properties
-I/home/dev/webkit-qtwebkit-23/Source/WebCore/testing -I/home/dev/webkit-qtwebkit-23/Source/WebCore/websockets -I/home/dev/webkit-qtwebkit-23/Source/WebCore/workers -I/home/dev/webkit-qtwebkit-23/Source/WebCore/xml -I/home/dev/webkit-qtwebkit-23/Source/WebCore/xml/parser -I/home/dev/webkit-qtwebkit-23/Source/ThirdParty -I/home/dev/webkit-qtwebkit-23/Source/WebCore/bridge/jsc -I/home/dev/webkit-qtwebkit-23/Source/WebCore/bindings/js -I/home/dev/webkit-qtwebkit-23/Source/WebCore/bridge/c -I/home/dev/webkit-qtwebkit-23/Source/WebCore/testing/js -Igenerated -I../../../qtbase/src/3rdparty/sqlite/ -I/home/dev/webkit-qtwebkit-23/Source/WTF/wtf/qt/compat -I/home/dev/webkit-qtwebkit-23/Source -I/home/dev/webkit-qtwebkit-23/WebKitBuild/Release/Source/include -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore -I/home/dev/webkit-qtwebkit-23/Source -I/home/dev/webkit-qtwebkit-23/Source/WTF -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/assembler
-I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/bytecode -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/bytecompiler -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/heap -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/dfg -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/debugger -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/disassembler -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/interpreter -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/jit -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/llint -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/parser -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/profiler -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/runtime -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/tools -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/yarr -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/API
-I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/ForwardingHeaders -I../JavaScriptCore/generated -I/home/dev/webkit-qtwebkit-23/Source/JavaScriptCore/disassembler/udis86 -I/home/dev/webkit-qtwebkit-23/Source/WTF -I/home/dev/webkit-qtwebkit-23/Source/WebCore -I. -o obj/release/WorkerContextWebDatabase.o /home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp: In static member function ‘static WTF::PassRefPtr<WebCore::Database> WebCore::WorkerContextWebDatabase::openDatabase(WebCore::WorkerContext*, const WTF::String&, const WTF::String&, const WTF::String&, long unsigned int, WTF::PassRefPtr<WebCore::DatabaseCallback>, WebCore::ExceptionCode&)’:
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp:46:17: error: invalid use of incomplete type ‘struct WebCore::WorkerContext’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.h:43:7: error: forward declaration of ‘struct WebCore::WorkerContext’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp:46:62: error: invalid use of incomplete type ‘struct WebCore::WorkerContext’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.h:43:7: error: forward declaration of ‘struct WebCore::WorkerContext’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp:51:107: error: no matching function for call to ‘WebCore::Database::openDatabase(WebCore::WorkerContext*&, const WTF::String&, const WTF::String&, const WTF::String&, long unsigned int&, WTF::PassRefPtr<WebCore::DatabaseCallback>&, WebCore::ExceptionCode&)’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp:51:107: note: candidate is:
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/Database.h:59:33: note: static WTF::PassRefPtr<WebCore::Database> WebCore::Database::openDatabase(WebCore::ScriptExecutionContext*, const WTF::String&, const WTF::String&, const WTF::String&, long unsigned int, WTF::PassRefPtr<WebCore::DatabaseCallback>, WebCore::ExceptionCode&)
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/Database.h:59:33: note: no known conversion for argument 1 from ‘WebCore::WorkerContext*’ to ‘WebCore::ScriptExecutionContext*’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp: In static member function ‘static WTF::PassRefPtr<WebCore::DatabaseSync> WebCore::WorkerContextWebDatabase::openDatabaseSync(WebCore::WorkerContext*, const WTF::String&, const WTF::String&, const WTF::String&, long unsigned int, WTF::PassRefPtr<WebCore::DatabaseCallback>, WebCore::ExceptionCode&)’:
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp:56:17: error: invalid use of incomplete type ‘struct WebCore::WorkerContext’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.h:43:7: error: forward declaration of ‘struct WebCore::WorkerContext’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp:56:62: error: invalid use of incomplete type ‘struct WebCore::WorkerContext’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.h:43:7: error: forward declaration of ‘struct WebCore::WorkerContext’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp:61:115: error: no matching function for call to ‘WebCore::DatabaseSync::openDatabaseSync(WebCore::WorkerContext*&, const WTF::String&, const WTF::String&, const WTF::String&, long unsigned int&, WTF::PassRefPtr<WebCore::DatabaseCallback>&, WebCore::ExceptionCode&)’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp:61:115: note: candidate is:
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/DatabaseSync.h:59:37: note: static WTF::PassRefPtr<WebCore::DatabaseSync> WebCore::DatabaseSync::openDatabaseSync(WebCore::ScriptExecutionContext*, const WTF::String&, const WTF::String&, const WTF::String&, long unsigned int, WTF::PassRefPtr<WebCore::DatabaseCallback>, WebCore::ExceptionCode&)
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/DatabaseSync.h:59:37: note: no known conversion for argument 1 from ‘WebCore::WorkerContext*’ to ‘WebCore::ScriptExecutionContext*’
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp:62:1: warning: control reaches end of non-void function [-Wreturn-type]
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp: In static member function ‘static WTF::PassRefPtr<WebCore::Database> WebCore::WorkerContextWebDatabase::openDatabase(WebCore::WorkerContext*, const WTF::String&, const WTF::String&, const WTF::String&, long unsigned int, WTF::PassRefPtr<WebCore::DatabaseCallback>, WebCore::ExceptionCode&)’:
/home/dev/webkit-qtwebkit-23/Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp:52:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [obj/release/WorkerContextWebDatabase.o] Errore 1
make[2]: uscita dalla directory "/home/dev/webkit-qtwebkit-23/WebKitBuild/Release/Source/WebCore"
make[1]: *** [sub-Target-pri-make_default-ordered] Errore 2
make[1]: uscita dalla directory "/home/dev/webkit-qtwebkit-23/WebKitBuild/Release/Source/WebCore"
make: *** [sub-Source-WebCore-WebCore-pro-make_default-ordered] Errore 2
===== BUILD FAILED ======
The build failed with exit code 2. This may have been because you
- added an #include to a source/header
- added a Q_OBJECT macro to a class
- added a new resource to a qrc file
as dependencies are not automatically re-computed for local developer builds.
You may try computing dependencies manually by running 'make qmake' in:
/home/dev/webkit-qtwebkit-23/WebKitBuild/Release
or passing --makeargs="qmake" to build-webkit.
=========================
________________________________
Da: Allan Sandfeld Jensen <kde at carewolf.com>
A: webkit-qt at lists.webkit.org; Massimo Callegari <massimocallegari at yahoo.it>
Inviato: Martedì 23 Aprile 2013 12:43
Oggetto: Re: [webkit-qt] QtWebKit 2.3.1 and Qt-4.8.4
Hi,
Please see my original email about QtWebKit 2.3.0. I have attached it for your
convenience.
On Tuesday 23 April 2013, Massimo Callegari wrote:
> Hi again.
> I'm now trying to build QtWebkit 2.3.1 on top of Qt 4.8 as an external
> package. (using Linux)
>
> Here's what I found so far:
> - running 'qmake' does nothing cause the released bundle already has a
> Makefile. - so, running 'make' will try to build QtWebKit for OSX,
> looking for Xcode tools. - after removing the Makefile and running qmake
> again, it says I cannot use my system's qmake, but I need to set QMAKEPATH
> to an internal path. This is weird and I believe QtWebKit should compile
> like any other Qt application in the 'qmake/make/make install' way - after
> setting QMAKEPATH where it wanted, 'make' started to compile
>
Good news everybody!
QtWebKit 2.3.0 was tagged in gitorious yesterday and can be found at
https://gitorious.org/webkit/qtwebkit-23/trees/qtwebkit-2.3.0 with the tarball
at https://gitorious.org/webkit/qtwebkit-23/archive-tarball/qtwebkit-2.3.0
For those of you that don't know: QtWebKit 2.3 is a port of QtWebKit from Qt 5
to Qt 4.8. It has most of the web-facing features, stability fixes and
performance improvements that QtWebKit in Qt 5 has, but has skipped anything
Qt 5 specific such as QQuickWebView, but has almost all improvements on the
WebKit1 side (QWebView). QtWebKit 2.3 also maintains API and ABI compatibility
with QtWebKit 2.2 from Qt 4.8, and is thereby an easy drop-in replacement. The
released version 2.3.0 has roughly the same WebKit version and patches as Qt
5.0.2.
Note that QtWebKit 2.3 is not an official Qt release, nor will be. We
recommend users to upgrade to Qt 5, but for those stuck with Qt 4.8 for one
reason or another, I would personally recommend trying out QtWebKit 2.3. I
have also had great feedback from the developers of the Rekonq, and Qupzilla
browsers, that also recommend users to try out 2.3, several distributions are
either packaging or planning to package it, the first being Arch Linux who has
been packaging QtWebKit 2.3 since the betas.
Note that the sources are only buildable using the build-webkit tool, and
requires the QTDIR environment set even if only to /usr. The basic build-
command is "Tools/Scripts/build-webkit --qt --release --no-webkit2". If you
are packaging to x86, you might also want to add --no-force-sse2 since the
library would otherwise default to using SSE2 math. Additionally you can use
--qmakearg="CONFIG+=production_build" to link with less memory. Finally I have
added an option to include WebP support by adding DEFINES+=HAVE_LIBWEBP=1 to
the qmakearg. After building the you need to go to WebKitBuild/Release and run
make install.
If you have any questions, ask here on this mailing-list or catch me on
FreeNode IRC #qtwebkit.
Best regards
`Allan Sandfeld Jensen (carewolf)
_______________________________________________
webkit-qt mailing list
webkit-qt at lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20130423/a4f49bcd/attachment-0001.html>
More information about the webkit-qt
mailing list