Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Qt5-Webkit fails to build
Forum Updated to NodeBB v4.3 + New Features

Qt5-Webkit fails to build

Scheduled Pinned Locked Moved Qt WebKit
15 Posts 5 Posters 9.8k Views 3 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #6

    Hi,

    Never got hit by that one, does it happen again if you restart the build ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    A 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      Never got hit by that one, does it happen again if you restart the build ?

      A Offline
      A Offline
      Abin
      wrote on last edited by Abin
      #7

      @SGaist :

      I tried rebuiling and also rebooted the device and rebuilt, but the same error appeared. :(

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #8

        What Linux flavor are you running ? Version of gcc ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        A 1 Reply Last reply
        0
        • SGaistS SGaist

          What Linux flavor are you running ? Version of gcc ?

          A Offline
          A Offline
          Abin
          wrote on last edited by
          #9

          @SGaist :
          I use Raspbian Jessie on my raspberry pi board.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #10

            Did you check that you have all dependencies dev-packages installed ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • M Offline
              M Offline
              marcin100
              wrote on last edited by
              #11

              Hello,

              I have been stuck for few days now trying to bitbake meta-toolchain-qt5 (Jethro --> Qt5.5) using Yocto. I did not have any issues in the previous versions. I would greatly appreciate any pointers on how to approach this issue. The error log is not very helpful. Is it possible to remove webkit from the toolchain build? I'm not planing on using it in my application.

              Here is the portion of the log:
              | DOMAllInOne.cpp:(.text._ZN7WebCore15HTMLTagNodeListC2EN3WTF10PassRefPtrINS_4NodeEEERKNS1_12AtomicStringE+0xa8): undefined reference to .LANCHOR158' | /home/martin/Yocto/wandboard-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.5.1+gitAUTOINC+0d592678ba-r0/build/Source/WebCore//.obj/dom/DOMAllInOne.o: In function WebCore::NameNodeList::NameNodeList(WTF::PassRefPtrWebCore::Node, WTF::AtomicString const&)':
              | DOMAllInOne.cpp:(.text._ZN7WebCore12NameNodeListC2EN3WTF10PassRefPtrINS_4NodeEEERKNS1_12AtomicStringE+0x124): undefined reference to .LANCHOR61' | DOMAllInOne.cpp:(.text._ZN7WebCore12NameNodeListC2EN3WTF10PassRefPtrINS_4NodeEEERKNS1_12AtomicStringE+0x128): undefined reference to .LANCHOR159'
              | collect2: error: ld returned 1 exit status
              | make[2]: *** [../lib/libQt5WebKit.so.5.5.1] Error 1
              | make[2]: Leaving directory /home/martin/Yocto/wandboard-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.5.1+gitAUTOINC+0d592678ba-r0/build/Source' | make[1]: *** [sub-api-pri-make_first-ordered] Error 2 | make[1]: Leaving directory /home/martin/Yocto/wandboard-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.5.1+gitAUTOINC+0d592678ba-r0/build/Source'
              | make: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2
              | ERROR: oe_runmake failed
              | ERROR: Function failed: do_compile (log file is located at /home/martin/Yocto/wandboard-bsp-jethro/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebkit/5.5.1+gitAUTOINC+0d592678ba-r0/temp/log.do_compile.9933)

              1 Reply Last reply
              0
              • SPlattenS Offline
                SPlattenS Offline
                SPlatten
                wrote on last edited by
                #12

                I have a raspberry Pi Zero, I've been following the information on this Wiki page:

                https://wiki.qt.io/Native_Build_of_Qt5_on_a_Raspberry_Pi

                I've encountered a few errors during installing the packages, the first was with: libjpeg62-dev, I got over this by installing libjeg62.

                The next problem was with libxcb-sync0:

                Unable to locate package libxcb-sync0.

                The operating system version is:

                Linux raspberrypi 4.4.11+ #888 Mon May 29 20:02:58 BST 2016 armv6l GNU/Linux

                I ignored this error and left it building overnight, when I came back to it it failed, obviously this library is required.

                What can I do to satisfy this requirement?

                Kind Regards,
                Sy

                1 Reply Last reply
                0
                • SPlattenS Offline
                  SPlattenS Offline
                  SPlatten
                  wrote on last edited by
                  #13

                  Has anyone managed to build Qt on a raspberry Pi?

                  Is there an up to date account on how?

                  Thank you.

                  Kind Regards,
                  Sy

                  1 Reply Last reply
                  0
                  • SPlattenS Offline
                    SPlattenS Offline
                    SPlatten
                    wrote on last edited by
                    #14

                    Has anyone successfully built Qt5 on a Raspberry Pi ? If so how and where did you find the correct / working instructions/guide?

                    Thank you,

                    Kind Regards,
                    Sy

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #15

                      What distribution are you using exactly ?

                      I've built Qt on a Pi using raspbian without any trouble however I didn't had the need for QtWebKit so I didn't bother with that module since what I needed already required a very long build time.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved