QT5 camera error: Unknown module(s) in QT: multimedia multimediawidgets
I run qt camera demo, and it show this error
:-1: error: Unknown module(s) in QT: multimedia multimediawidgets
So I add qt5multimedia. (I'm using 'imx6-sabresd_qt5_defconfig' + qt5multimedia.)
Then, build. Show this error:
Makefile:179: recipe for target 'sub-plugins-make_first' failed make[3]: *** [sub-plugins-make_first] Error 2 Makefile:46: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2
How to fix this? Thanks.
--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
Hello Julia,
Quoted 8 lines · Julia Ding
I run qt camera demo, and it show this error
:-1: error: Unknown module(s) in QT: multimedia multimediawidgets
So I add qt5multimedia. (I'm using 'imx6-sabresd_qt5_defconfig' + qt5multimedia.)
Then, build. Show this error:
Quoted 6 lines
Makefile:179: recipe for target 'sub-plugins-make_first' failed make[3]: *** [sub-plugins-make_first] Error 2 Makefile:46: recipe for target 'sub-src-make_first' failed make[2]: *** [sub-src-make_first] Error 2
How to fix this? Thanks.
Thanks for your report. Could you:
(1) Make sure this error happens when you do a rebuild from scratch ("make clean all")
(2) Post the .config, and the last ~200 lines of build output. The part of the error log you have copy/pasted is not sufficient to understand the issue.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com
Hello Thomas:
Thanks for your answer.
After "make clean all" and "make" again, it show another error/usr/include/EGL/egl.h:39:0,
from qsgvideonode_egl.h:48,
from qsgvideonode_egl.cpp:40:/home/gportay/src/buildroot/output-qt5.10/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/EGL/eglplatform.h:118:22:
fatal error: X11/Xlib.h: No such file or directory
#include <X11/Xlib.h>
^ I find a patch "qt5base: fix build issue with mesa3d w/out xcb" to fix. ?https://patchwork.ozlabs.org/cover/880120/?
The previous error message did not appear. May be something changed before in menuconfig, I didn't record them.
Julia Ding
--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/