Important: Please read the Qt Code of Conduct -

Compilation problems

  • 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/' failed
    make[5]: *** [../../lib/] 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/ 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,

  • 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).

  • 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:


    There are two requirement pages listing necessary packages:

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

  • DerFrank,

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

Log in to reply