I am compiling Qt 5.9.1 inside a docker container running on the i.MX6 itself. My configure line:
./configure -opengl es2 -platform linux-imx6-g++ -prefix /usr -opensource -confirm-license -release -c++std c++1z -make libs -nomake tests \ -skip qtdatavis3d \ -skip qt3d \ -skip qtconnectivity \ -skip qtgamepad \ -skip qtcharts \ -skip qtpurchasing \ -skip qtscript I;ve created a platform mkspec to get the i.MX6 specific device settings: $ cat qmake.conf # # qmake configuration for linux-g++ # QT_QPA_DEFAULT_PLATFORM = eglfs MAKEFILE_GENERATOR = UNIX CONFIG += incremental QMAKE_INCREMENTAL_STYLE = sublib include(../common/linux.conf) include(../common/gcc-base-unix.conf) include(../common/g++-unix.conf) QMAKE_LIBS_EGL += -lEGL -lGAL QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL -lGAL QMAKE_LIBS_OPENVG += -lOpenVG -lEGL -lGAL IMX6_CFLAGS = -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 QMAKE_CFLAGS += $$IMX6_CFLAGS QMAKE_CXXFLAGS += $$IMX6_CFLAGS COMPILER_FLAGS += -mfloat-abi=hard LINKER_FLAGS += -mfloat-abi=hard EGLFS_DEVICE_INTEGRATION = eglfs_viv load(qt_config) There were some QtWebEngine deps lacking (libdbus-1-dev, gperf, bison, flex) when compiling Qt, so then I did: $ cd qtwebengine $ qmake $ make On Mon, Aug 14, 2017 at 2:42 PM, Michal Klocek <michal.klo...@qt.io> wrote: > Hi > > Which version of qt is it ? > > Can you paste your configure line ? > > Br > > Michal > > On 08/14/2017 12:47 PM, Filip Piechocki wrote: > > 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 > > > > > > _______________________________________________ > > Interest mailing list > > Interest@qt-project.org > > http://lists.qt-project.org/mailman/listinfo/interest > > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest