Qt5.9 5 Webengine on ARM cross compile.
-
I can't cross-compile the webengine Qt 5.9.5 component for nanoPiNeo. On desktop, webengine is build.
It comes something that detects arm as if on Android, but it's not Android and its flag is not set. ...
Nothing is Googled.Where can I to know which configure string been using to build Qt embedded to Armbian? Or pathes of sources too if any.
I'm trying to cross build Qt and getting errors like
ERROR at //build/config/android/internal_rules.gni:11:1: Assertion failed.
assert(is_android)
^-----
See //build/config/android/rules.gni:8:1: whence it was imported.
import("//build/config/android/internal_rules.gni")
^-------------------------------------------------
See //third_party/android_tools/BUILD.gn:5:1: whence it was imported.
import("//build/config/android/rules.gni")
^----------------------------------------
See //third_party/openmax_dl/dl/BUILD.gn:199:16: which caused the file to be included.
deps = [ "//third_party/android_tools:cpu_features" ]
^-----------------------------------------
Project ERROR: GN run error! -
I can't cross-compile the webengine Qt 5.9.5 component for nanoPiNeo. On desktop, webengine is build.
It comes something that detects arm as if on Android, but it's not Android and its flag is not set. ...
Nothing is Googled.Where can I to know which configure string been using to build Qt embedded to Armbian? Or pathes of sources too if any.
I'm trying to cross build Qt and getting errors like
ERROR at //build/config/android/internal_rules.gni:11:1: Assertion failed.
assert(is_android)
^-----
See //build/config/android/rules.gni:8:1: whence it was imported.
import("//build/config/android/internal_rules.gni")
^-------------------------------------------------
See //third_party/android_tools/BUILD.gn:5:1: whence it was imported.
import("//build/config/android/rules.gni")
^----------------------------------------
See //third_party/openmax_dl/dl/BUILD.gn:199:16: which caused the file to be included.
deps = [ "//third_party/android_tools:cpu_features" ]
^-----------------------------------------
Project ERROR: GN run error!@lisco
Hard, if not impossible, to say what's wrong here.
Qt 5.9.5 went out of support years ago.
Can you try with Qt 6.5 ? -
@lisco
Hard, if not impossible, to say what's wrong here.
Qt 5.9.5 went out of support years ago.
Can you try with Qt 6.5 ?Configure string is here.
mkdir -vp xARM-build
cd xARM-build
../qt-everywhere-opensource-src-5.9.5/configure
-release
-device-option CROSS_COMPILE=$CROSSCOMPILER
-device-option DISTRO_OPTS="hard-float"
-device linux-arm-generic-g++
-sysroot $SYSROOT
-opensource -confirm-license
-nomake examples
-nomake tests
-no-openssl
-skip qtwayland
-skip qtconnectivity
-printing-and-pdf -alsa
-webengine-icu
-no-opus
-pepper-plugins
-no-pch
-recheck6.5 is not in our interests.
If only to test build to compare with above.
But sysroot is old too, it is Ubuntu 18.04.but shouldn't any version of Qt with Webengine compile on any platform?
Compiling without Webengine is successful.
-
Configure string is here.
mkdir -vp xARM-build
cd xARM-build
../qt-everywhere-opensource-src-5.9.5/configure
-release
-device-option CROSS_COMPILE=$CROSSCOMPILER
-device-option DISTRO_OPTS="hard-float"
-device linux-arm-generic-g++
-sysroot $SYSROOT
-opensource -confirm-license
-nomake examples
-nomake tests
-no-openssl
-skip qtwayland
-skip qtconnectivity
-printing-and-pdf -alsa
-webengine-icu
-no-opus
-pepper-plugins
-no-pch
-recheck6.5 is not in our interests.
If only to test build to compare with above.
But sysroot is old too, it is Ubuntu 18.04.but shouldn't any version of Qt with Webengine compile on any platform?
Compiling without Webengine is successful.
@lisco
Webengine ships a lot of 3rd party libraries and there are dependencies with the host OS.
If it's a bug in webengine, it won't be fixed in 5.9.5.
And unless somebody is still developing on 5.9.5, there's hardly anybody out there to help you debug.
With an EOL version, your pretty much on your own. -
@lisco
Webengine ships a lot of 3rd party libraries and there are dependencies with the host OS.
If it's a bug in webengine, it won't be fixed in 5.9.5.
And unless somebody is still developing on 5.9.5, there's hardly anybody out there to help you debug.
With an EOL version, your pretty much on your own.@Axel-Spoerl
Armbian Ubuntu 18.04 contents packages of Qt 5.9.5 and Webengine. I would want to compile too by cross compiler. -
@Axel-Spoerl
Armbian Ubuntu 18.04 contents packages of Qt 5.9.5 and Webengine. I would want to compile too by cross compiler.@lisco
As said before: EOL, can't help you even if I would love to.