Solved Apparently successful build but missing modules
-
Hi there,
I want to build a demonstrator that our browser based app can run on linux within an qt 5.9.7 application environment (compiled with gcc/g++ 4.8.5). I managed to checkout sources from git, configure, make and make install it – apparently successful. I can generate a makefile with QtWidgets Include and Library paths using
Qt += widgets
In the project file. BUT I cannot generate a makefile referencing qtwebengine using
Qt += webengine
qmake says
Project ERROR: Unknown module(s) in QT: webengine
I found the config.log files in the module folders and have seen some failing tests in these files, esp also for webengine. I installed a lot of packages following instructions esp. from this site. Am I missing some important package requirements? Any help appreciated ....
more qtwebengine/config.log | grep "succ\|Error"
test alsa succeeded
test khr succeeded
make[2]: *** [.obj/libvpx.o] Error 1
make[2]: *** [.obj/re2.o] Error 1
test snappy succeeded
make[2]: *** [winversion] Error 1 -
@DirkDS said in Apparently successful build but missing modules:
test alsa succeeded
test khr succeeded
make[2]: *** [.obj/libvpx.o] Error 1
make[2]: *** [.obj/re2.o] Error 1
test snappy succeeded
make[2]: *** [winversion] Error 1This does not show the actual errors. Please post the errors.
-
Hi, thank you for your reply.
The error lines are in the log file are:libvpx.cpp:29:29: fatal error: vpx/svc_context.h: No such file or directory
#include <vpx/svc_context.h>
compilation terminated.re2.cpp:29:21: fatal error: re2/re2.h: No such file or directory
#include <re2/re2.h>
compilation terminated./usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o(.text+0x20): error: undefined reference to 'main'
collect2: error: ld returned 1 exit status
make[2]: *** [winversion] Error 1
make[2]: Leaving directory `/home/gccp/code/qt5/qtwebengine/config.tests/winversion'
test winversion FAILED -
Abbendum: In the meanwhile I ran in the qtwebengine folder
qtwebengine> qmake -r
(in addition to configure/make in the qt toplevel source directory) and learned from the output that I had to install a couple of more packages like fontconfig, xrandr ( libXrandr-devel on this centos machine )
After the dependenciese where solved, qtwebengine was built and my problem seems to be solved. (I am just waiting for the compiler and will then mark this as solved).