Qt 6 Integration Failure on Scarthgap for Verdin iMX8MP - qtapplicationmanager do_configure Error

Hello Toradex Community,

From the 使用 Yocto Project 集成 Qt6 link I am working on integrating Qt 6 into my Yocto build using the Scarthgap branch for the Verdin iMX8MP board. I encountered an error while configuring qtapplicationmanager (6.8.3). The build fails at the do_configure step with the following error:

ERROR: qtapplicationmanager-6.8.3-r0 do_configure: ExecutionError(‘/home/prem_sai/yocto_imx8mp/oe-core/build/tmp/work/armv8a-tdx-linux/qtapplicationmanager/6.8.3/temp/run.do_configure.2928510’, 1, None, None)

meta-qt6 branch : * (HEAD detached at origin/6.8)

The log file (log.do_configure) shows that several dependencies are installed, but the configuration step fails. Here’s a snippet of the log:

| NOTE: Installed into sysroot:
| NOTE: Skipping as already exists in sysroot: [list of dependencies…]

I have ensured that meta-qt6 is included in my bblayers.conf and added the necessary IMAGE_INSTALL and EXTRA_IMAGE_FEATURES configurations.

I have attached log file
qtapplicationmanager_configure_fails_log.txt (16.9 KB)

regards,
prem0919

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello!

Thank you for reaching out with your question about integrating Qt 6 with the Verdin iMX8M Plus. While specific configuration details for Qt 6 are not directly available, I can offer some guidance to help you get started.

The Verdin iMX8M Plus module supports graphics frameworks through Wayland, which is the recommended graphics back-end for i.MX 8 Series modules. This is important for running graphics applications, including those developed with Qt 6.

To begin, ensure your Yocto build environment is properly set up. You can initialize your environment with the following command:

$ . export

Next, configure your build for the Verdin iMX8M Plus by setting the machine in your local.conf file:

MACHINE ?= "verdin-imx8mp"

This setup will help you build a Yocto image tailored for your module, which is a crucial step in preparing your development environment for Qt applications.

For more detailed information on graphics acceleration and performance, the Verdin iMX8M Plus has demonstrated strong capabilities with benchmark scores of 953 using glmark2 on OpenGL ES 2 with Wayland.

I recommend exploring the Toradex Developer Center for additional resources and documentation that may assist you with Qt-specific integration. This platform offers a wealth of information that could be beneficial for your project.

I hope this helps you get started on your integration journey. If you have further questions, feel free to ask!

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

Build a Reference Image with Yocto Project/OpenEmbedded | Toradex Developer Center.

Hello team,
we are waiting for your reply.
please update it asap

regards,
prem0919

Hi @prem0919!

I followed the steps mentioned here (which I think are similar to the blog that you sent), and it worked. I built it for BSP 6.

How did you set your Yocto environment? I recommend you follow the article about how to Build a Reference Image with Yocto Project/OpenEmbedded and, after that, follow the steps in the link above.

Best regards.
Lucas Azeituno.

Hi @lucas_az.tx ,
Able to build for the BSP 6, but why we are facing this issue in BSP 7?
How can we overcome this issue?

regards,
prem0919

Hi everyone,

sorry for sliding into this conversation. I’m kind of in the same situation to build a yocto with the BSP7. Looks like it worked, what @lucas_az.tx suggested.

Here is what I’ve done (in short):

  • I’m using Verdin AM62
  • building in a Ubuntu 20.04
  • initialized the repo with:
repo init -u https://git.toradex.com/toradex-manifest.git -b scarthgap-7.x.y -m tdxref/default.xml
bitbake tdx-reference-multimedia-qt6-image
  • Also after flashing. All libs were in the right place (/usr/lib/)

At first the build exited with an error, but this was due to our stupid firewall :wink:

If it helps a can list the steps in detail.

Next step will be to create a Qt-Application and cross compile it, so it can be run on the target…

Greeting - Uwe

Hi @buw3!

Thanks for sharing what you’ve done.

@prem0919 were you able to build it for BSP7?

Best regards.
Lucas Azeituno

Hi @lucas_az.tx ,
I am able to build for BSP6 but still not in BSP7 as i am facing the same error which i have shared earlier(do_configure fails)

Regards,
Prem0919