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. QTwebkit Build failed on QT-5.15 via Yocto
Forum Updated to NodeBB v4.3 + New Features

QTwebkit Build failed on QT-5.15 via Yocto

Scheduled Pinned Locked Moved Unsolved Qt WebKit
8 Posts 3 Posters 2.0k Views 1 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.
  • C Offline
    C Offline
    Chenxi Mao
    wrote on 9 Apr 2020, 08:29 last edited by Chenxi Mao 4 Sept 2020, 08:58
    #1

    Hi QT experts:

    I would like to integrate the QTwebkit to QT5.15 via Yocto project, unfortunately, I got build error till now.
    QTwebkit has been build successfully on QT-5.13.

    1. On QT-5.15, I've move the QT webkit sha1 as below:
      https://codereview.qt-project.org/c/yocto/meta-qt5/+/296402
    2. On meta-qt5 5.15 branch, there is another build issue has been fixed as below:
      diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/qtdeclarative_git.bb
      index ffed74b9..c4f7eb4b 100644
      --- a/recipes-qt/qt5/qtdeclarative_git.bb
      +++ b/recipes-qt/qt5/qtdeclarative_git.bb
      @@ -31,6 +31,6 @@ do_install_append_class-nativesdk() {
      rm -rf ${D}${OE_QMAKE_PATH_QML}
      }

    -SRCREV = "8dfcc71953cd36370bcf19f537445e3766f39635"
    +SRCREV = "1a2ab822fa24733f83d6720d2af8498ecbd5cbda"

    Howerver, during webkit link, there is a problem as below

    /usr/include/QtCore/qbytearray.h:530: undefined reference to `QWebFullScreenVideoHandler::qt_metacall(QMetaObject::Call, int, void**)'

    I found the root cause is the moc didn't create "moc_qwebfullscreenvideohandler.cxx" on 5.15
    There is only a parameter file created.

    Another clue is in build/Source/WebKit/CMakeFiles/WebKit_autogen.dir/AutogenInfo.json, the qwebfullscreenvideohandler.h in in MOC_SKIP section, I not sure whethere this cause the moc_qwebfullscreenvideohandler.cxx cannot be created.

    I would like to know which code create WebKit_autogen.dir/AutogenInfo.json file and how to remove qwebfullscreenvideohandler.h from the MOC_SKIP section.

    Do I need to revert some commits in moc or there are solutions to fix this build error?

    Thanks in advance.

    Chenxi

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Konstantin Tokarev
      wrote on 9 Apr 2020, 21:51 last edited by
      #2

      This choice of SRCREV is horribly wrong. Please use 444bd2bda5fa46c2b4b99adaf6e9b2074b03a0d1

      C 1 Reply Last reply 9 Apr 2020, 22:22
      0
      • K Konstantin Tokarev
        9 Apr 2020, 21:51

        This choice of SRCREV is horribly wrong. Please use 444bd2bda5fa46c2b4b99adaf6e9b2074b03a0d1

        C Offline
        C Offline
        Chenxi Mao
        wrote on 9 Apr 2020, 22:22 last edited by Chenxi Mao 4 Sept 2020, 22:36
        #3

        @Konstantin-Tokarev said in QTwebkit Build failed on QT-5.15 via Yocto:

        This choice of SRCREV is horribly wrong. Please use 444bd2bda5fa46c2b4b99adaf6e9b2074b03a0d1

        Hi expert:
        I saw you suggest to switch to 5.212 branch.
        Do i need to extra modification in meta-qt5?
        E.g; remove python3 suppot patch?

        Thanks

        Chenxi

        K 1 Reply Last reply 2 May 2023, 10:05
        0
        • K Offline
          K Offline
          Konstantin Tokarev
          wrote on 9 Apr 2020, 22:47 last edited by
          #4

          E.g; remove python3 suppot patch?

          Why would you want to do that?

          C 1 Reply Last reply 10 Apr 2020, 00:50
          0
          • K Konstantin Tokarev
            9 Apr 2020, 22:47

            E.g; remove python3 suppot patch?

            Why would you want to do that?

            C Offline
            C Offline
            Chenxi Mao
            wrote on 10 Apr 2020, 00:50 last edited by
            #5

            @Konstantin-Tokarev
            Thanks, I've build successfully.
            I will upload commit to gerrit soon and invite you to review.

            Thanks for ur greate support.

            Chenxi

            1 Reply Last reply
            0
            • K Offline
              K Offline
              Konstantin Tokarev
              wrote on 10 Apr 2020, 01:35 last edited by
              #6

              remove python3 suppot patch?

              Ah, you had a local patch. I wonder why nobody even tries to contact maintainer when doing such work. What a horrible waste of time for everyone.

              1 Reply Last reply
              0
              • K Offline
                K Offline
                KpKp
                wrote on 2 May 2023, 09:32 last edited by
                #7
                This post is deleted!
                1 Reply Last reply
                0
                • C Chenxi Mao
                  9 Apr 2020, 22:22

                  @Konstantin-Tokarev said in QTwebkit Build failed on QT-5.15 via Yocto:

                  This choice of SRCREV is horribly wrong. Please use 444bd2bda5fa46c2b4b99adaf6e9b2074b03a0d1

                  Hi expert:
                  I saw you suggest to switch to 5.212 branch.
                  Do i need to extra modification in meta-qt5?
                  E.g; remove python3 suppot patch?

                  Thanks

                  Chenxi

                  K Offline
                  K Offline
                  KpKp
                  wrote on 2 May 2023, 10:05 last edited by
                  #8
                  This post is deleted!
                  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