[webkit-qt] build error of qtwebkit on debian

Allan Sandfeld Jensen kde at carewolf.com
Wed Jun 10 16:10:34 PDT 2015


When building qtwebkit sources, I would suggest just using qmake directly. 
built-webkit is only really useful to also get the test tools builds, though 
you can make qmake build those too by disabling production_build.

`Allan

On Tuesday 26 May 2015, Fabien R wrote:
> Hello,
> 
> I'm trying to build qtwebkit for Qt 5.4.1 from gitorious on debian/wheezy.
> The command I use is:
> qtwebkit/Tools/Scripts/build-webkit --debug --qt --qmake=qmake-qt5
> --3d-rendering
> 
> The compilation ends with these warnings and error:
> QtWebKit: created headers.pri file
> QtWebKit: WARNING: /work/qt5/qtwebkit/Source/JavaScriptCore/config.h
> does not include QT_BEGIN_NAMESPACE
> QtWebKit: WARNING: /work/qt5/qtwebkit/Source/WTF/config.h does not
> include QT_BEGIN_NAMESPACE
> QtWebKit: WARNING: /work/qt5/qtwebkit/Source/WebCore/config.h does not
> include QT_BEGIN_NAMESPACE
> QtWebKit: WARNING: /work/qt5/qtwebkit/Source/WebKit2/config.h does not
> include QT_BEGIN_NAMESPACE
> .
> .
> .
> 
> QtWebKit: WARNING:
> /work/qt5/qtwebkit/Source/ThirdParty/gtest/include/gtest/internal/gtest-typ
> e-util.h does not include QT_BEGIN_NAMESPACE
> QtWebKit: WARNING:
> /work/qt5/qtwebkit/Source/ThirdParty/gtest/xcode/Samples/FrameworkSample/wi
> dget.h does not include QT_BEGIN_NAMESPACE
> QtWebKit: WARNING:
> /work/qt5/qtwebkit/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/webkit-
> web-extension.h does not include QT_BEGIN_NAMESPACE
> 
> Project ERROR: Missing CMake tests. Either create tests in
> tests/auto/cmake, or disable cmake config file creation with
> CONFIG-=create_cmake.
> 
> Makefile.QtWebKit:41: recipe for target 'sub-api-pri-qmake_all' failed
> make[2]: *** [sub-api-pri-qmake_all] Error 3
> make[2]: Leaving directory '/work/qt5/qtwebkit/WebKitBuild/Debug/Source'
> Makefile:301: recipe for target 'sub-Source-QtWebKit-pro-qmake_all' failed
> 
> The proposed fix seems to be related to cmake, not qmake.
> 
> Any hints ?
> 
> --
> Fabien
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-qt



More information about the webkit-qt mailing list