Webengine 6.8 compilation on ARM64 Ubuntu 18.04 (Nvidia Jetson)
-
Hello!
I'm trying to compile Qt6.8 Webengine submodule but I don't have any success on this.
The device I'm using is Nvidia Jetson TX2, which is only supporting Ubuntu 18.04 and nothing else.
My configuration command is:/opt/qt/6.8.1/bin/qt-configure-module . -webengine-embedded-build
These are the ways I'm trying to compile and how they fail:
- GCC > 10:
Error: selected processor does not support: 'xpaclr'
- Clang 10:
c++: error: unknown argument: '-gsimple-template-names'
On the first issue I found these posts:
https://forum.qt.io/topic/156950/can-t-build-webengine-on-linux-arm64-error-msg-error-selected-processor-does-not-support-xpaclri
https://stackoverflow.com/questions/79166899/issue-to-build-qt-webengine-submodule-on-arm-platformDoes it really mean it's impossible to get Webengine on my embedded device? I have no way to change the device or its Ubuntu version. What are my options here?
Thank you!
- GCC > 10:
-
@therealmatiss I do not think you can do it. Qt 6 needs C++ 17. Ubuntu 18.04 is too old.
-
@therealmatiss Why do you do that in 18.04? You may not know if your C++ works properly even when you can install a higher version of C++. It is better to move on with the newer versions of Ubuntu.
If you prefer 18.04, it may be better to use Qt5.
-
@JoeCFD My embedded device is locked on 18.04 - it's impossible to install an OS on it manually, it goes through Nvidia software and its unique Ubuntu build. You just can't go around installing OS's on your own on Nvidia Jetson TX2.
-
@therealmatiss Qt 6.8 does not support Ubuntu 18.04 (see https://doc.qt.io/qt-6/linux.html). Use an older Qt version which supports this Ubuntu version (which does not get any support anymore by the way).