This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4378: Qt simple browser cross compile on PROCESSOR-SDK-LINUX-RT-AM437X version 08.02.00.24

Part Number: AM4378

Hi,

This is a related question to the original thread.
The customer wants to cross compile Qt simple browser on SDK version 08.02.00.24.

He tried below steps.
1) Download Qt source code from

https://download.qt.io/archive/qt/5.14/5.14.2/qt-opensource-linux-x64-5.14.2.run

Then install
- chmod 777 qt-opensource-linux-x64-5.14.2.run
- ./qt-opensource-linux-x64-5.14.2.run
Qt tools and source codes were under /home/xxx/Qt5.14.2

2) Refer "Hand on with Qt" and setup qmake.
https://software-dl.ti.com/processor-sdk-linux-rt/esd/AM437X/08_02_00_24/exports/docs/linux/Examples_and_Demos_Sub-system_Demos.html#hands-on-with-qt
    - echo $QMAKESPEC
    - source /home/xxx/ti-processor-sdk-linux-rt-am437x-evm-08.02.00.24/linux-devkit/environment-setup
    - echo $QMAKESPEC
confirmed QMAKESPEC was correctly configured as below
/home/xxx/ti-processor-sdk-linux-rt-am437x-evm-08.02.00.24/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib//mkspecs/linux-oe-g++

3) Compile Qt soruce code simplebrowser.
- cd /home/xxx/Qt5.14.2/Examples/Qt-5.14.2/webenginewidgets/simplebrowser
- qmake simplebrowser.pro
below error was show.
”Project ERROR: Unknown module(s) in QT: webenginewidgets"

Why the error is generated? Do we have any solution?

Thanks and regards,
Koichiro Tashiro

  • Hello Koichiro,

    We do not support webenginewidgets in our newer SDK. In summary, Python 2 was deprecated and all Yocto components related to Python 2 were removed. This included packages like Chromium/QtWebengine and the above decisions was taken by the open source community. Our filesystem is Yocto compliant and since the community disabled the packages we do not include them by default. I believe Chromium is working towards Python 3 migration. Once the community migrates, we will evaluate the integration process in our SDK. 

    Regards,
    Krunal

  • Hi Krunal,

    Thanks for the answer.

    Thanks and regards,
    Koichiro Tashiro