[Solved] QT5 QtWebkit build failed on Ubuntu 12.04 32-bit (WebKit nightly build)
-
Hello, everyone!
I couldn't build the last Webkit + QT5 on Ubuntu 12.04 32-bit.
I tried to build QtWebKit accroding to: http://trac.webkit.org/wiki/BuildingQtOnLinux .
On Ubuntu 12.04 64-bit all is OK but on 32-bit build failed.
QT
QT5 was build successfully with https://github.com/ossy-szeged/qt5-tools/blob/master/build-qt5.sh
The result was the same when I tried to build WebKit with http://releases.qt-project.org/qt5/5.0.1/qt-linux-opensource-5.0.1-x86-offline.runWEBKIT
http://nightly.webkit.org/
Nightly build: WebKit-r141714ENVIRONMENT
The environment variables seem to be correct:
QTDIR and PATH were set according to the instruction- QTDIR=/home/zaq/work/qt5-tools/qt5/qtbase
- PATH=$QTDIR/bin:$PATH
QMAKE
qmake -v
QMake version 3.0
Using Qt version 5.0.0 in /home/zaq/work/qt5-tools/qt5/qtbase/libERROR MESSAGES
…
/home/zaq/work/rtc/WebKit-r141714/WebKit.pro:21: ‘use?’ is not a recognized test function.
/home/zaq/work/rtc/WebKit-r141714/WebKit.pro:31: ‘build?’ is not a recognized test function.
/home/zaq/work/rtc/WebKit-r141714/WebKit.pro:37: ‘build?’ is not a recognized test function.
…/home/zaq/work/rtc/WebKit-r141714/Source/WTF/WTF.pri:23: ‘use?’ is not a recognized test function.
…
../../../../Source/WTF/wtf/NullPtr.h:52:1: warning: identifier ‘nullptr’ will become a keyword in C++0x [-Wc++0x-compat]
In file included from ../../../../Source/WTF/wtf/WTFThreadData.h:36:0, from ../../../../Source/WTF/wtf/DataLog.cpp:30:
../../../../Source/WTF/wtf/ThreadSpecific.h:216:2: error: #error ThreadSpecific is not implemented for this platform.
../../../../Source/WTF/wtf/ThreadSpecific.h:238:2: error: #error ThreadSpecific is not implemented for this platform.
…I suppose the first problem is that qmake cannot process pro-files commands like
@
use?(3D_GRAPHICS) {
@I would be grateful for any help.
-
Why not use standard instructions from "Qt Project":http://qt-project.org/wiki/Building_Qt_5_from_Git?
Have you got all dependencies (Perl, Python, Ruby)?
-
I need the latest version WebKitQt port on Linux.
Build instructions: http://trac.webkit.org/wiki/BuildingQtOnLinux .
All dependencies are installed according to http://trac.webkit.org/wiki/BuildingQtOnLinux#DependenciesforspecificLinuxdistributionsI use the same instructions to build Ubuntu 12.04 64 - bit version and there is no any problem with build.
This error occurs on Ubuntu 12.04 32 -bit
-
The problem is that WebKit nightly builds http://nightly.webkit.org/
don't contain everything needed to build the Qt port
(.qmake.conf at least is missing).On 64-bit Ubuntu I've got the sources from git repository.
but on 32-bit Ubuntu it was a 'Nightly Build' archive file :)So to build the latest WebKit Qt port it is need the official git or svn repository.