I am using IMX6ULL in Aster carrier board with yocto build image. in that image qt5 is been in use i want to remove qt5 from whole image and want to add qt6, and make it in use.
Thanks & regareds,
Prial Joshi
I am using IMX6ULL in Aster carrier board with yocto build image. in that image qt5 is been in use i want to remove qt5 from whole image and want to add qt6, and make it in use.
Thanks & regareds,
Prial Joshi
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Prial Joshi,
To replace Qt5 with Qt6 in your Yocto build for the iMX6ULL on an Aster carrier board, you can follow these steps:
Set Up Your Yocto Environment:
Remove Qt5:
local.conf
file in your Yocto build directory, typically located at build/conf/
.IMAGE_INSTALL_append = " qtbase qtdeclarative ..."
where Qt5 components are listed.Add Qt6 Layer:
git clone https://github.com/meta-qt5/meta-qt6.git
bblayers.conf
file, which is also found in build/conf/
:BBLAYERS += "<path-to-your-yocto-dir>/meta-qt6"
Configure Qt6 in Your Build:
local.conf
, add the Qt6 packages you need. For example:IMAGE_INSTALL_append = " qt6-base qt6-declarative ..."
Build the Image:
bitbake <your-image-name>
Deploy and Test:
By following these steps, you should be able to successfully replace Qt5 with Qt6 in your Yocto build for the iMX6ULL. Make sure to check for any specific dependencies or configurations required by your applications when transitioning to Qt6.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
https://www.nxp.com/doc/IMX_YOCTO_PROJECT_USERS_GUIDE
https://community.nxp.com/t5/i-MX-Processors/Yocto-remove-package/m-p/418397.
I tried these steps but files & directory related to QT6 are not present in rootfs of image.