Yocto build error while do pack and comile of QT5 packages meta-qt5 layer

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


Based on the information provided, I’d like to help you troubleshoot this meta-qt5 layer error. To provide the most accurate guidance, I need to understand your specific setup better.

Platform Information Needed

Could you please provide the following details:

  1. Hardware platform: Which SoM and carrier board are you using? You can run tdx-info on your device to get this information. For more details, see: tdx-info documentation

  2. OS version: Which BSP version are you building?

  3. Build configuration: What’s your current MACHINE and DISTRO settings in your conf/local.conf?

General Troubleshooting Steps

While I await your platform details, here are some common approaches for meta-qt5 build issues after cleaning:

Repository Synchronization

Ensure your repositories are properly synchronized (1):

$ repo sync

Clean Build Approach

If you encounter persistent errors after cleaning, try these steps (2):

$ bitbake -c clean <failing-recipe>
$ bitbake tdx-reference-multimedia-image

Build Configuration Verification

Verify your build configuration matches the supported combinations. The tdx-reference-multimedia-image includes Qt5 packages through the packagegroup-tdx-qt5 (3).

Alternative: Consider Qt6

If you’re experiencing persistent Qt5 issues, you might consider transitioning to Qt6. The community has reported success with meta-qt6 layer integration (4), though this requires removing all Qt5 modules and building from scratch.

Once you provide your platform details, I can give you more specific guidance for your particular setup.

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.