Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Compilation problems
Qt 6.11 is out! See what's new in the release blog

Compilation problems

Scheduled Pinned Locked Moved Unsolved QtWebEngine
4 Posts 3 Posters 1.5k Views
  • 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.
  • F Offline
    F Offline
    fazibear
    wrote on last edited by
    #1

    Hi,

    I'm trying to compile Qt 5.12 with latest buildroot, but compilation ends up with such an error:

    surface_factory_qt.cpp:(.text._ZN15QtWebEngineCore16SurfaceFactoryQtC2Ev+0x41): undefined reference to `vtable for ui::GLOzoneGLXQt'
    collect2: error: ld returned 1 exit status
    Makefile.core_module:85: recipe for target '../../lib/libQt5WebEngineCore.so.5.12.2' failed
    make[5]: *** [../../lib/libQt5WebEngineCore.so.5.12.2] Error 1
    Makefile:124: recipe for target 'sub-core_module-pro-make_first' failed
    make[4]: *** [sub-core_module-pro-make_first] Error 2
    Makefile:79: recipe for target 'sub-core-make_first' failed
    make[3]: *** [sub-core-make_first] Error 2
    Makefile:48: recipe for target 'sub-src-make_first' failed
    make[2]: *** [sub-src-make_first] Error 2
    package/pkg-generic.mk:238: recipe for target '/mnt/2tb/nerves/._nerves/rb/artifacts/rzjb_system_dev_beta-portable-1.0.0/build/qt5webengine-5.12.2/.stamp_built' failed
    make[1]: *** [/mnt/2tb/nerves/._nerves/rb/artifacts/rzjb_system_dev_beta-portable-1.0.0/build/qt5webengine-5.12.2/.stamp_built] Error 2
    Makefile:23: recipe for target '_all' failed
    make: *** [_all] Error 2
    

    I have no idea how I could try to fix this issue. Can anybody have a similar problem?

    best regards,
    Michał

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DerFrank
      wrote on last edited by
      #2

      Same here, but no solution so far. Qt 5.12.4 including QtWebEngine already compiled well on another system (both ubuntu 18.04), so I guess that the environment plays some role here. And I'm compiling with '-no-opengl', which resulted in two other errors in different modules, so I suspect this option is not tested well (QTBUG-76600, QTBUG-76773).

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DerFrank
        wrote on last edited by
        #3

        After some more investigating, it seems that just some libraries/dependencies are missing. I have two machines, one compiles Qt with QtWebEngine, one does not. There is a difference in the configuration log:

        0_1562919913761_libs.png

        There are two requirement pages listing necessary packages:

        • Qt for X11 Requirements
        • Qt WebEngine Platform Notes

        I assume the second link might point into the direction of the problem here.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          deales
          wrote on last edited by
          #4

          DerFrank,

          Did you manage to find the problem? I am also having the same issue.

          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