I.MX8QMax -- How to Compile QT Cpp code

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I.MX8QMax -- How to Compile QT Cpp code

1,301件の閲覧回数
santhosh2
Contributor IV

Hi,

How to cross compile simple QT Cpp code for I.MX8QMax.

Qtcompilation.png

I did below steps

export PATH=/opt/fsl-imx-x11/4.9.51-mx8-beta/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/:$PATH
export CROSS_COMPILE=aarch64-poky-linux-

export ARCH=arm64
export LDFLAGS=""
source /opt/fsl-imx-x11/4.9.51-mx8-beta/environment-setup-aarch64-poky-linux
LDFLAGS="" CC="$CC"
export GCC=$CXX


Buts its getting compiled to x86-64

(Attached the snap )


Regards

Santhosh Kumar S

0 件の賞賛
返信
2 返答(返信)

1,239件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Santosh,

The following links may help you:

Qt5.6.3 Build issue with ARM64 | Qt Forum 

Building Qt Sources | Qt 5.14 

Regards

0 件の賞賛
返信

1,239件の閲覧回数
santhosh2
Contributor IV

No the links didnt help, Can you help me with steps

regards

santhosh

0 件の賞賛
返信