[Interest] QtWebEngine on i.MX6 eglfs

Filip Piechocki fpiechocki at gmail.com
Mon Aug 14 12:47:16 CEST 2017


Hi,
I would like to build QtWebEngine for my i.MX6 DualLite but I am using
eglfs only (no X11) while I got those errors while compiling QtWebEngine:

[1/16161] CXX obj/third_party/angle/angle_common/utilities.o
FAILED: obj/third_party/angle/angle_common/utilities.o
/usr/bin/g++ -MMD -MF obj/third_party/angle/angle_common/utilities.o.d
-DV8_DEPRECATION_WARNINGS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DUSE_UDEV
-DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OPENSSL_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC
-DENABLE_WEBRTC=1 -DDISABLE_NACL -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL
-DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0
-I../../3rdparty/chromium/third_party/angle/src/common/third_party/numerics
-I../../3rdparty/chromium/third_party/angle/include
-I../../3rdparty/chromium/third_party/angle/src -Igen/angle
-fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-funwind-tables -fPIC -pipe -pthread -march=armv7-a -mfloat-abi=hard
-mtune=generic-armv7-a -mfpu=neon -mthumb -Wall -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -Wno-psabi -Wno-unused-local-typedefs
-Wno-maybe-uninitialized -Wno-missing-field-initializers
-Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections
-g0 -fvisibility=hidden -fno-threadsafe-statics -fvisibility-inlines-hidden
-std=gnu++11 -fno-delete-null-pointer-checks -Wno-narrowing -fno-rtti
-fno-exceptions -c
../../3rdparty/chromium/third_party/angle/src/common/utilities.cpp -o
obj/third_party/angle/angle_common/utilities.o
In file included from
../../3rdparty/chromium/third_party/angle/include/EGL/egl.h:39:0,
                 from
../../3rdparty/chromium/third_party/angle/src/common/utilities.h:12,
                 from
../../3rdparty/chromium/third_party/angle/src/common/utilities.cpp:9:
../../3rdparty/chromium/third_party/angle/include/EGL/eglplatform.h:111:22:
fatal error: X11/Xlib.h: No such file or directory
 #include <X11/Xlib.h>
                      ^
compilation terminated.

I see there -DUSE_X11=1 but I don't want it. Is it somehow autodetected?
There are some X11 libs in the system as they were installed as some
gstreamer plugins dependencies but the whole Qt is configured with eglfs
i.MX6 platform plugin with -DLINUX=1 and -DEGL_API_FB=1

Best regards,
Filip Piechocki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170814/1f45cecd/attachment.html>


More information about the Interest mailing list