imx8mevk board in Qt5

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8mevk board in Qt5

1,850 次查看
alzip79
Contributor II

hi. nxp

L4.9.88_2.0.0_image_MX8MQ file downlod

in fsl-image-qt5-validation-imx-xwayland-imx8mqevk.sdcard file use

weston wayland system ok!

Qt5/examples test ok!

123.jpg

I want to run a my qt5 app on board.
What should I do next?
I am new to Linux, weston system.
https://www.nxp.com/docs/en/user-guide/IMXLXYOCTOUG.pdf ,

https://www.nxp.com/docs/en/user-guide/IMXLUG.pdf 
I'm looking at the documentation but I can't understand it.
Is bit bake an instruction that should be executed from the wayland terminal?
Do I need to create a new sdcard boot file to use qt5?

Thank you for help!

0 项奖励
回复
3 回复数

1,732 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello An Sunjib,

I would recommend that you download the L4.9.88_2.0.0 BSP documentation on  the link below (you may need to login to download this file).

https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_LINUX_DOCS

Inside, you will find the i.MX Yocto Project User Guide, which explains how to setup Yocto and use Bitbake. Bitbake is used to build images for your board so in your case this is already done as you used one of the available prebuilt images.

If you want to run Qt5 applications, you may do so from the image you have loaded on the board. However, you would need the Qt5 toolchain to cross compile for Qt5. You can find more information on this on the BSP documentation.

As for development for Qt5, it is not supported by the BSP but you may find the resources for Qt Creator useful:

https://www.qt.io/product

I hope this helps!

Regards,

0 项奖励
回复

1,732 次查看
mholyoak
Contributor I

Hello gusarambula,

Thanks for the information. I've read the documentation that you suggested. I'm working on building the images using bitbake. However, I didn't see much documentation on how to use a commercial version of Qt.

Could you share some specifics docs about building the image to run Qt applications?

Where do you get the "Qt5 toolchain to cross compile for Qt5"? Is this provided by NXP, Qt The Qt Company, or the build process?

 Thanks in advance for your help.

  Mitch

0 项奖励
回复

1,732 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Mitch,

The toolchain is provided as part of the BSP Releases. You may find the available Linux BSPs on the following link:

https://www.nxp.com/design/software/embedded-software/linux-software-and-development-tools/embedded-...

Inside of the BSP Release documentation you may find the i.MX Porting Guide. Please follow the instructions on Chapter 2 of this document. The command would look something like:

DISTRO=<DISTRO> MACHINE=<TARGET_MACHINE> bitbake  <IMAGE> -c populate_sdk

I hope this helps!

Regards,

0 项奖励
回复