A suitable version of nss could not be found. Cross Compile Raspberry pi3 Qt5.10.1
-
Hallo,
Hi,
I have a problem compiling qt 5.10.1 webengine module.
i configure with
../qt-everywhere-src-5.10.1/configure -release -opengl es2 -silent -device linux-rasp-pi-g'' -device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -v -nomake examples -nomake tests -no-use-gold-linker -skip wayland -no-webengine-v8-snapshot -skip multimedia -D__ARM_ARCH_7M__ && makeThe rest seems to be fine but when i want to build qtWebengine
~/raspi/qt5/bin/qmake -r
A suitable version of nss could not be found.
QtWebEngine will not be built.Ubuntu environment 16.04
Please can someone help me.Thank you
-
hi,
@jsulm yes i do i have the last version on my UbuntuReading package lists... Done
Building dependency tree
Reading state information... Done
libnss3-dev is already the newest version (2:3.28.4-0ubuntu0.16.04.4).
The following packages were automatically installed and are no longer required:
libasound2:i386 libjpeg62:i386 libqt5x11extras5 libxtst6:i386 linux-headers-4.15.0-39 linux-headers-4.15.0-39-generic linux-headers-4.15.0-42 linux-headers-4.15.0-42-generic linux-headers-4.4.0-140
linux-headers-4.4.0-140-generic linux-image-4.15.0-39-generic linux-image-4.15.0-42-generic linux-image-4.4.0-140-generic linux-image-extra-4.4.0-140-generic linux-modules-4.15.0-39-generic
linux-modules-4.15.0-42-generic linux-modules-extra-4.15.0-39-generic linux-modules-extra-4.15.0-42-generic qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qtquick-privatewidgets
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.any idea please.
-
@jsulm i have already the last version on libnss in my sysroot/lib/arm-linux-gnueabihf/lib directory.
@root:~/raspi$ ls -l sysroot/lib/arm-linux-gnueabihf/libnss*
-rw-r--r-- 1 root root 30592 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_compat-2.19.so
lrwxrwxrwx 1 root root 21 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_compat.so.2 -> libnss_compat-2.19.so
-rw-r--r-- 1 root root 18048 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_dns-2.19.so
lrwxrwxrwx 1 root root 18 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_dns.so.2 -> libnss_dns-2.19.so
-rw-r--r-- 1 root root 46820 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_files-2.19.so
lrwxrwxrwx 1 root root 20 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_files.so.2 -> libnss_files-2.19.so
-rw-r--r-- 1 root root 18040 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_hesiod-2.19.so
lrwxrwxrwx 1 root root 21 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_hesiod.so.2 -> libnss_hesiod-2.19.so
-rw-r--r-- 1 root root 9600 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_mdns4_minimal.so.2
-rw-r--r-- 1 root root 9612 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_mdns4.so.2
-rw-r--r-- 1 root root 9600 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_mdns6_minimal.so.2
-rw-r--r-- 1 root root 9612 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_mdns6.so.2
-rw-r--r-- 1 root root 9600 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_mdns_minimal.so.2
-rw-r--r-- 1 root root 9612 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_mdns.so.2
-rw-r--r-- 1 root root 38612 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_nis-2.19.so
-rw-r--r-- 1 root root 50892 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_nisplus-2.19.so
lrwxrwxrwx 1 root root 22 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_nisplus.so.2 -> libnss_nisplus-2.19.so
lrwxrwxrwx 1 root root 18 Feb 12 12:13 sysroot/lib/arm-linux-gnueabihf/libnss_nis.so.2 -> libnss_nis-2.19.soi have the same errors when i try to build Qtwebengine
thanks
-
Hi,
From the looks of it, you didn't install the development package of nss on your sysroot.
-
if you are following the https://wiki.qt.io/RaspberryPi2EGLFS tutorial, sudo apt-get install libnss3-dev on pi3, then rsync and rerun the python script.
-
@jsulm
already on my sysroot include directoriessysroot/usr/include/nss:
base64.h cmmft.h cryptoht.h keyhi.h nssbase.h nssckfw.h nssilock.h ocspt.h pk11pub.h pkcs11u.h secasn1.h secerr.h secoidt.h ssl.h blapit.h cms.h ecl-exp.h keyt.h nssbaset.h nssckfwt.h nsslocks.h p12.h pk11sdr.h pkcs12.h secasn1t.h sechash.h secpkcs5.h sslproto.h certdb.h cmsreclist.h hasht.h keythi.h nssck.api nssckg.h nsslowhash.h p12plcy.h pkcs11f.h pkcs12t.h seccomon.h secitem.h secpkcs7.h sslt.h cert.h cmst.h jar-ds.h lowkeyi.h nssckbi.h nssckmdt.h nssrwlk.h p12t.h pkcs11.h pkcs1sig.h secder.h secmime.h secport.h utilmodt.h certt.h crmf.h jarfile.h lowkeyti.h nssckepv.h nssckt.h nssrwlkt.h pk11func.h pkcs11n.h pkcs7t.h secdert.h secmod.h shsign.h utilpars.h ciferfam.h crmft.h jar.h nssb64.h nssckft.h nss.h nssutil.h pk11pqg.h pkcs11p.h portreg.h secdig.h secmodt.h smime.h utilparst.h cmmf.h cryptohi.h key.h nssb64t.h nssckfwc.h nssilckt.h ocsp.h pk11priv.h pkcs11t.h preenc.h secdigt.h secoid.h sslerr.h utilrename.hhere is my inlcude files. something is wrong but i don´t know why...
-
Hello,
her is my config
This is the Qt Open Source Edition.
You have already accepted the terms of the Open Source license.
Running configuration tests...
Done running configuration tests.Configure summary:
Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
Building for: devices/linux-rasp-pi-g++ (arm, CPU features: <none>)
Configuration: cross_compile compile_examples enable_new_dtags largefile precompile_header silent shared rpath release c++11 concurrent dbus reduce_exports stl
Build options:
Mode ................................... release
Optimize release build for size ........ no
Building shared libraries .............. yes
Using C++ standard ..................... C++11
Using ccache ........................... no
Using gold linker ...................... no
Using new DTAGS ........................ yes
Using precompiled headers .............. yes
Using LTCG ............................. no
Target compiler supports:
NEON ................................. no
Build parts ............................ libs
Qt modules and options:
Qt Concurrent .......................... yes
Qt D-Bus ............................... yes
Qt D-Bus directly linked to libdbus .... yes
Qt Gui ................................. yes
Qt Network ............................. yes
Qt Sql ................................. yes
Qt Testlib ............................. yes
Qt Widgets ............................. yes
Qt Xml ................................. yes
Support enabled for:
Using pkg-config ....................... yes
QML debugging .......................... yes
udev ................................... yes
Using system zlib ...................... yes
Qt Core:
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... yes
iconv .................................. yes
ICU .................................... no
Logging backends:
journald ............................. no
syslog ............................... no
slog2 ................................ no
Using system PCRE2 ..................... no
Qt Network:
getifaddrs() ........................... yes
IPv6 ifname ............................ yes
libproxy ............................... no
OpenSSL ................................ yes
Qt directly linked to OpenSSL ........ no
SCTP ................................... no
Use system proxies ..................... yes
Qt Gui:
Accessibility .......................... yes
FreeType ............................... yes
Using system FreeType ................ yes
HarfBuzz ............................... yes
Using system HarfBuzz ................ no
Fontconfig ............................. yes
Image formats:
GIF .................................. yes
ICO .................................. yes
JPEG ................................. yes
Using system libjpeg ............... yes
PNG .................................. yes
Using system libpng ................ yes
EGL .................................... yes
OpenVG ................................. yes
OpenGL:
Desktop OpenGL ....................... no
OpenGL ES 2.0 ........................ yes
OpenGL ES 3.0 ........................ yes
OpenGL ES 3.1 ........................ yes
OpenGL ES 3.2 ........................ yes
Vulkan ................................. no
Session Management ..................... yes
Features used by QPA backends:
evdev .................................. yes
libinput ............................... yes
INTEGRITY HID .......................... no
mtdev .................................. yes
tslib .................................. yes
xkbcommon-evdev ........................ yes
QPA backends:
DirectFB ............................... no
EGLFS .................................. yes
EGLFS details:
EGLFS OpenWFD ........................ no
EGLFS i.Mx6 .......................... no
EGLFS i.Mx6 Wayland .................. no
EGLFS RCAR ........................... no
EGLFS EGLDevice ...................... no
EGLFS GBM ............................ yes
EGLFS Mali ........................... no
EGLFS Raspberry Pi ................... yes
EGL on X11 ........................... no
LinuxFB ................................ yes
VNC .................................... yes
Mir client ............................. no
X11:
Using system-provided XCB libraries .. yes
EGL on X11 ........................... no
Xinput2 .............................. yes
XCB XKB .............................. yes
XLib ................................. yes
XCB render ........................... yes
XCB GLX .............................. yes
XCB Xlib ............................. yes
Using system-provided xkbcommon ...... no
Native painting (experimental) ....... yes
Qt Widgets:
GTK+ ................................... no
Styles ................................. Fusion Windows
Qt PrintSupport:
CUPS ................................... yes
Qt Sql:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... yes
PostgreSQL ............................. yes
SQLite2 ................................ yes
SQLite ................................. yes
Using system provided SQLite ......... no
TDS (Sybase) ........................... yes
Qt SerialBus:
Socket CAN ............................. yes
Socket CAN FD .......................... yes
QtXmlPatterns:
XML schema support ..................... yes
Qt QML:
QML interpreter ........................ yes
QML network support .................... yes
Qt Quick:
Direct3D 12 ............................ no
AnimatedImage item ..................... yes
Canvas item ............................ yes
Support for Qt Quick Designer .......... yes
Flipable item .......................... yes
GridView item .......................... yes
ListView item .......................... yes
Path support ........................... yes
PathView item .......................... yes
Positioner items ....................... yes
ShaderEffect item ...................... yes
Sprite item ............................ yes
Qt Gamepad:
SDL2 ................................... no
Qt 3D:
Assimp ................................. yes
System Assimp .......................... no
Output Qt3D Job traces ................. no
Output Qt3D GL traces .................. no
Use SSE2 instructions .................. no
Use AVX2 instructions .................. no
Aspects:
Render aspect ........................ yes
Input aspect ......................... yes
Logic aspect ......................... yes
Animation aspect ..................... yes
Extras aspect ........................ yes
Qt 3D GeometryLoaders:
Autodesk FBX ........................... no
Qt Bluetooth:
BlueZ .................................. yes
BlueZ Low Energy ....................... yes
Linux Crypto API ....................... yes
WinRT Bluetooth API (desktop & UWP) .... no
Qt Sensors:
sensorfw ............................... no
Qt Quick Controls 2:
Styles ................................. Default Fusion Imagine Material Universal
Qt Quick Templates 2:
Hover support .......................... yes
Multi-touch support .................... yes
Qt Positioning:
Gypsy GPS Daemon ....................... no
WinRT Geolocation API .................. no
Qt Location:
Geoservice plugins:
OpenStreetMap ........................ yes
HERE ................................. yes
Esri ................................. yes
Mapbox ............................... yes
MapboxGL ............................. no
Itemsoverlay ......................... yes
Qt WebEngine:
Embedded build ......................... yes
Pepper Plugins ......................... no
Printing and PDF ....................... no
Proprietary Codecs ..................... no
Spellchecker ........................... yes
Native Spellchecker .................... no
WebRTC ................................. no
Use System Ninja ....................... no
Geolocation ............................ yes
Use v8 snapshot ........................ no
Use ALSA ............................... yes
Use PulseAudio ......................... yes
Optional system libraries used:
re2 .................................. no
icu .................................. no
libwebp, libwebpmux and libwebpdemux . no
opus ................................. no
ffmpeg ............................... no
libvpx ............................... no
snappy ............................... no
libsrtp .............................. no
glib ................................. yes
zlib ................................. yes
minizip .............................. no
libevent ............................. no
jsoncpp .............................. no
protobuf ............................. no
libxml2 and libxslt .................. no
lcms2 ................................ no
png .................................. no
harfbuzz ............................. no
Required system libraries:
fontconfig ........................... yes
dbus ................................. yes
nss .................................. no
khr .................................. yes
glibc ................................ yes
Required system libraries for qpa-xcb:
libdrm ............................... yes
xcomposite ........................... no
xcursor .............................. no
xi ................................... no
xrandr ............................... no
xtst ................................. noNote: Also available for Linux: linux-clang linux-icc
Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into '/home/vermop/raspi/qt5pi'.can you see somthing wrong right her? i have nss config to no
Thanks
-
You should check the build log to find out what is happening with nss.
-
Hello,
i reconfigure Qt for the build process and i see the nss is enable and everything look fine right now but i have a new error when the build process is going to build QtWebengine.
@root:~/raspi/qt-everywhere-src-5.10.1/qtwebengine$ make
cd src/ && ( test -e Makefile || /home/vermop/raspi/qt5/bin/qmake -o Makefile /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/src.pro ) && make -f Makefile
make[1]: Entering directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src'
cd buildtools/ && ( test -e Makefile || /home/vermop/raspi/qt5/bin/qmake -o Makefile /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools/buildtools.pro ) && make -f Makefile
make[2]: Entering directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools'
( test -e Makefile.configure_host || /home/vermop/raspi/qt5/bin/qmake -o Makefile.configure_host /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools/configure_host.pro ) && make -f Makefile.configure_host
make[3]: Entering directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools'
make[3]: Nothing to be done for 'first'.
make[3]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools'
( test -e Makefile.configure_target || /home/vermop/raspi/qt5/bin/qmake -o Makefile.configure_target /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools/configure_target.pro ) && make -f Makefile.configure_target
make[3]: Entering directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools'
make[3]: Nothing to be done for 'first'.
make[3]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools'
( test -e Makefile.ninja || /home/vermop/raspi/qt5/bin/qmake -o Makefile.ninja /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools/ninja.pro ) && make -f Makefile.ninja
make[3]: Entering directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools'
make[3]: Nothing to be done for 'first'.
make[3]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools'
( test -e Makefile.gn || /home/vermop/raspi/qt5/bin/qmake -o Makefile.gn /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools/gn.pro ) && make -f Makefile.gn
make[3]: Entering directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools'
make[3]: Nothing to be done for 'first'.
make[3]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools'
make[2]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/buildtools'
cd core/ && ( test -e Makefile || /home/vermop/raspi/qt5/bin/qmake -o Makefile /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core/core.pro ) && make -f Makefile
make[2]: Entering directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core'
( test -e Makefile.core_headers || /home/vermop/raspi/qt5/bin/qmake -o Makefile.core_headers /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core/core_headers.pro ) && make -f Makefile.core_headers
make[3]: Entering directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core'
make[3]: Nothing to be done for 'first'.
make[3]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core'
( test -e Makefile.core_generator || /home/vermop/raspi/qt5/bin/qmake -o Makefile.core_generator /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core/core_generator.pro ) && make -f Makefile.core_generator
make[3]: Entering directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core'
make[3]: Nothing to be done for 'first'.
make[3]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core'
( test -e Makefile.gn_run || /home/vermop/raspi/qt5/bin/qmake -o Makefile.gn_run /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core/gn_run.pro ) && make -f Makefile.gn_run
make[3]: Entering directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core'
/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/3rdparty/ninja/ninja -C /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core/release QtWebEngineCore
ninja: Entering directory /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core/release' [336/10254] CXX obj/base/base/spin_lock.o FAILED: obj/base/base/spin_lock.o /home/vermop/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -MMD -MF obj/base/base/spin_lock.o.d -DUSE_SYMBOLIZE -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DDISABLE_NACL -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 -DBASE_IMPLEMENTATION -Igen -I../../3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -march=armv6 -mfloat-abi=hard -mfpu=vfp -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-psabi -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -fomit-frame-pointer -g0 --sysroot=../../../../../sysroot -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -c ../../3rdparty/chromium/base/allocator/partition_allocator/spin_lock.cc -o obj/base/base/spin_lock.o {standard input}: Assembler messages: {standard input}:36: Error: selected processor does not support ARM modeyield'
[341/10254] CXX obj/base/base/trace_log.o
ninja: build stopped: subcommand failed.
Makefile.gn_run:1539: recipe for target 'run_ninja' failed
make[3]: *** [run_ninja] Error 1
make[3]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core'
Makefile:80: recipe for target 'sub-gn_run-pro-make_first' failed
make[2]: *** [sub-gn_run-pro-make_first] Error 2
make[2]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core'
Makefile:77: recipe for target 'sub-core-make_first' failed
make[1]: *** [sub-core-make_first] Error 2
make[1]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src'
Makefile:46: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2i think i have the right prozessor for the rpi3.
i configure with this command ? " ~/raspi/qt5/bin/qmake -r QM ~/raspi/qt5/bin/qmake -r QMAKE_CFLAGS=-march=armv7-a " but don´t work
Please do you have some ideas?
Thank you
0 -
If you don't need QtWebEngine, then just avoid building it and go on with your project.
Out of curiosity, why not build Qt 5.12 since it's the latest LTS ?
-
HAllo @SGaist
i need QtWebEngine for my Project.
i make some change in my QtWebengine directories config
i configure like this ~/raspi/qt-everywhere-src-5.10.1/qtwebengine$ ~/raspi/qt5/bin/qmake -r QMAKE_CFLAGS="-march=armv8-a -mtune=cortex-a53"
evrything work fine But the build unfortunately still fails with the error when linking libQt5WebEngineCore.so.5.10.1.
make[3]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core/api'
( test -e Makefile.core_module || /home/vermop/raspi/qt5/bin/qmake -o Makefile.core_module /home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core/core_module.pro 'QMAKE_CFLAGS=-march=armv8-a -mtune=cortex-a53' QMAKE_CXXFLAGS=-march=armv7 ) && make -f Makefile.core_module
make[3]: Entering directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core'
rm -f libQt5WebEngineCore.so.5.10.1 libQt5WebEngineCore.so libQt5WebEngineCore.so.5 libQt5WebEngineCore.so.5.10
linking ../../lib/libQt5WebEngineCore.so.5.10.1
/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core/release/obj/ui/ozone/common/common/gl_ozone_egl.o: In functionui::GLOzoneEGL::InitializeGLOneOffPlatform()': gl_ozone_egl.cc:(.text._ZN2ui10GLOzoneEGL26InitializeGLOneOffPlatformEv+0xa): undefined reference to
gl::GLSurfaceEGL::InitializeOneOff(int)'
collect2: error: ld returned 1 exit status
Makefile.core_module:90: recipe for target '../../lib/libQt5WebEngineCore.so.5.10.1' failed
make[3]: *** [../../lib/libQt5WebEngineCore.so.5.10.1] Error 1
make[3]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core'
Makefile:122: recipe for target 'sub-core_module-pro-make_first' failed
make[2]: *** [sub-core_module-pro-make_first] Error 2
make[2]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src/core'
Makefile:77: recipe for target 'sub-core-make_first' failed
make[1]: *** [sub-core-make_first] Error 2
make[1]: Leaving directory '/home/vermop/raspi/qt-everywhere-src-5.10.1/qtwebengine/src'
Makefile:46: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2 -
Thank you very much for your Help and support.
i be finally able to build very fine to Cross Compile Qt5.10.1 with QtWebengine on my Raspberry pi3 Model B.
The Thread of @SGaist has been very helpful
i solve my problem with the linked dependencies like @Lurch mentioned on the Thread please see below and i build Qt with success.
"The compact explanation: gl_ozone_egl.cc uses class gl::GLSurfaceEGL declared in gl_surface_egl.h, but the corresponding gl_surface_egl.cc is never compiled or linked into libgl_wrapper.a which goes into libQt5WebEngineCore.so.5.10.0 and thus the linker fails.
This can be shown by editing the two methods GLOzoneEGL::InitializeGLOneOffPlatform() and GLOzoneEGL::ShutdownGL() defined in in qt-everywhere-src-5.10.0/qtwebengine/src/3rdparty/chromium/ui/ozone/common/gl_ozone_egl.cc.
Open the file in your editor and comment out the uses of gl::GLSurfaceEGL::InitializeOneOff() and gl::GLSurfaceEGL::ShutdownOneOff(). Just return false in InitializeGLOneOffPlatform() for the whole function.."
Thank you very much Guys
-
Hello,
but i think it´s not very cool because i only able to build because i use the configuration
~/raspi/qt5/bin/qmake -r QMAKE_CFLAGS="-march=armv8-a -mtune=cortex-a53"
and i run my application and i have the first error.
glGetError 0x506
[6069:6105:0228/124507.705219:ERROR:gles2_cmd_decoder.cc(2523)] [.RenderWorker-0x15bcb0]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL commandmay be it´s because i use "-march=armv8-a -mtune=cortex-a53" ?
Thanks