Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [Solved] QT5 QtWebkit build failed on Ubuntu 12.04 32-bit (WebKit nightly build)

    Qt WebKit
    3
    5
    9118
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SergeyLenski2392 last edited by

      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.run

      WEBKIT

      http://nightly.webkit.org/
      Nightly build: WebKit-r141714

      ENVIRONMENT

      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/lib

      ERROR 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.

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        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)?

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • S
          SergeyLenski2392 last edited by

          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#DependenciesforspecificLinuxdistributions

          I 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

          1 Reply Last reply Reply Quote 0
          • S
            SergeyLenski2392 last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • K
              koahnig last edited by

              Please mark resolved issues as [Solved] in the title line of your thread. This helps others to find solution faster. In order to change the title line you have to edit the initial posting, which has an edit button.

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post