Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?
Forum Updated to NodeBB v4.3 + New Features

Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
15 Posts 3 Posters 1.5k 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.
  • jsulmJ jsulm

    @lolcocks said in Cross compiling QtWebEngine for Raspberry Pi?:

    Embedded build is yes, so does that mean it should get built or not?

    I guess so, but I'm not sure what "embedded" means here.
    Maybe somebody else knows more about building web engine.

    You also did "make install" after "make"?

    L Offline
    L Offline
    lolcocks
    wrote on last edited by
    #5

    @jsulm said in Cross compiling QtWebEngine for Raspberry Pi?:

    @lolcocks said in Cross compiling QtWebEngine for Raspberry Pi?:

    Embedded build is yes, so does that mean it should get built or not?

    I guess so, but I'm not sure what "embedded" means here.
    Maybe somebody else knows more about building web engine.

    You also did "make install" after "make"?

    Yes, I also did a make install after make.
    After doing that I went into the qt5pi folder and there was no QtWebEngine folder anywhere. :(

    Means it probably got skipped.

    Should I run the make command once again and save the output?
    It might tell why the QtWebEngine was skipped during make but not during compile.

    1 Reply Last reply
    0
    • jsulmJ jsulm

      @lolcocks said in Cross compiling QtWebEngine for Raspberry Pi?:

      Embedded build is yes, so does that mean it should get built or not?

      I guess so, but I'm not sure what "embedded" means here.
      Maybe somebody else knows more about building web engine.

      You also did "make install" after "make"?

      L Offline
      L Offline
      lolcocks
      wrote on last edited by lolcocks
      #6

      @jsulm I ran make again and saved the output this time and found the error.

      V8 snapshot cannot be built. Most likely, the 32-bit host compiler does not work. Please make sure you have 32-bit devel environment installed, or  configure webengine with '-no-webengine-v8-snapshot'
      QtWebEngine will not be built.
      

      What does the first statement mean?
      Should I try with "-no-webengine-v8-snapshot" in the configure statement?

      But I do not want to lose the ability QtWebEngine to open PDFs.

      1 Reply Last reply
      0
      • jsulmJ jsulm

        @lolcocks said in Cross compiling QtWebEngine for Raspberry Pi?:

        Embedded build is yes, so does that mean it should get built or not?

        I guess so, but I'm not sure what "embedded" means here.
        Maybe somebody else knows more about building web engine.

        You also did "make install" after "make"?

        L Offline
        L Offline
        lolcocks
        wrote on last edited by
        #7

        @jsulm

        Embedded here means that it's building for an embedded device, in my case, the Raspberry Pi.

        And I just had a realization that the Pepper Plugins are not going to get built which is what I need for opening PDFs in the QtWebEngine.

        How can I enable Pepper Plugins on embedded devices?

        jsulmJ 1 Reply Last reply
        0
        • L lolcocks

          @jsulm

          Embedded here means that it's building for an embedded device, in my case, the Raspberry Pi.

          And I just had a realization that the Pepper Plugins are not going to get built which is what I need for opening PDFs in the QtWebEngine.

          How can I enable Pepper Plugins on embedded devices?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #8

          @lolcocks said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:

          How can I enable Pepper Plugins on embedded devices?

          Check configure log (config.log) to see why it was not enabled. I guess some dependencies are missing.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

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

            Hi,

            @lolcocks said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:

            Required system libraries:
            fontconfig ........................... yes
            dbus ................................. yes
            nss .................................. no
            khr .................................. yes
            glibc ................................ yes

            There's a no there in the middle for the required system libraries.

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

            L 1 Reply Last reply
            0
            • jsulmJ jsulm

              @lolcocks said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:

              How can I enable Pepper Plugins on embedded devices?

              Check configure log (config.log) to see why it was not enabled. I guess some dependencies are missing.

              L Offline
              L Offline
              lolcocks
              wrote on last edited by
              #10

              @jsulm said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:

              @lolcocks said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:

              How can I enable Pepper Plugins on embedded devices?

              Check configure log (config.log) to see why it was not enabled. I guess some dependencies are missing.

              I checked, there is no mention of the word "Pepper" anywhere, except when saying it won't be built.

              @SGaist said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:

              Hi,

              @lolcocks said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:

              Required system libraries:
              fontconfig ........................... yes
              dbus ................................. yes
              nss .................................. no
              khr .................................. yes
              glibc ................................ yes

              There's a no there in the middle for the required system libraries.

              Ohhhh..... I totally missed that. (Sorry, first time building anything).
              I will go and try to make it a yes and try to compile again.

              But is that the one required for Pepper Plugins? Or is it one of the optional ones?

              Thank you so much for helping me out.

              1 Reply Last reply
              0
              • SGaistS SGaist

                Hi,

                @lolcocks said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:

                Required system libraries:
                fontconfig ........................... yes
                dbus ................................. yes
                nss .................................. no
                khr .................................. yes
                glibc ................................ yes

                There's a no there in the middle for the required system libraries.

                L Offline
                L Offline
                lolcocks
                wrote on last edited by
                #11

                @SGaist ,

                I just turned the nss into yes, but Pepper Plugins is still a no.

                I see a lot of optional packages as no, maybe one of those is required for Pepper Plugins?
                Some of these might not be even available on Raspian Buster. I might have to compile them from source.

                How can I find out which library is required for Pepper Plugins?

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

                  I don't know all the dependencies for QtWebEngine. You should read the test logs to see why the Pepper Plugin test fails.

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

                  L 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    I don't know all the dependencies for QtWebEngine. You should read the test logs to see why the Pepper Plugin test fails.

                    L Offline
                    L Offline
                    lolcocks
                    wrote on last edited by
                    #13

                    @SGaist said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:

                    I don't know all the dependencies for QtWebEngine. You should read the test logs to see why the Pepper Plugin test fails.

                    There's no mention of the word "Pepper" anywhere in the logs except when it says that it won't be built. :(

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      lolcocks
                      wrote on last edited by
                      #14

                      @jsulm @SGaist

                      Doesn't matter what I do, Pepper Plugins is always a no.
                      I tried various versions of the configure command, still the same.

                      I did a cross verification for the configure command for Linux (x86) and Raspberry Pi,

                      Even the optional system libraries used and required system libraries are exactly the same. Yet, Pepper Plugins will get built for Ubuntu but won't get cross compiled.

                      What is qpa-xcp? It's libraries are always a no. What is its purpose? Maybe that's the missing key

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

                        It's the backend to run Qt application using a X11 server.

                        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