building the qt application for imx6qp sabre ai board

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

building the qt application for imx6qp sabre ai board

806件の閲覧回数
lavakumars
Contributor IV

hi,

i have a build system for imx6qp sabre ai board. (built image using bitbake fsl-image-qt5 command).

and installed the cross compiler tool-chain on the system using "bitbake meta-tootlchain" command

and "bitbake meta-toolchain-qt5"

and the target source located at :/opt/nxp-imx-genivi-wayland/4.1.15-1.1.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi and the folders.

now i have hmi application in HMI_APP folder .

after entering HMI_APP folder i am sourcing the target as.

source /opt/nxp-imx-genivi-wayland/4.1.15-1.1.0/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi.

which will set my target environment.

which qmake .

gives : /opt/nxp-imx-genivi-wayland/4.1.15-1.1.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/bin/qt5/qmake.

but when i try to build the application using ./Build cb hmi  command which is build command. its unable build.

i.e unable to create Make file supposed to be created using the files.

   and i could not run the qmake also in my ubuntu system .

uname -a :Linux pase 3.13.0-86-generic #130-Ubuntu SMP Mon Apr 18 18:29:07 UTC 2016 i686 i686 i686 GNU/Linux

Note : qt5 pre -installed in the build system and created tool-chain after.

 

My question is is that the right way to use qt5 . if not help me with proper procedure to build qt application in cross platform which i have.

help will be appreciated.

Regards,

Lavakumar S

ラベル(4)
0 件の賞賛
2 返答(返信)

436件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

With Latest BSP 4.1.15_2.0.0, QT5 is built into Linux Image in Yocto with command bitbake fsl-image-qt5.

Embedded Linux for i.MX Applications Processors|NXP 

For building Qt applications you need to set up the qt creator.

https://community.nxp.com/docs/DOC-328543 

Regards

0 件の賞賛

436件の閲覧回数
lavakumars
Contributor IV

hi Bio_TICFSL,

Thanks for your reply.

I am not using the qt creator for compiling the hmi .

my command for building is ./Build.sh cb hmi which will build the hmi application but

in the project we have pro files which generates "Makefiles" using "qmake".

what I guess Is the qmake file which is in toolchain couldn't executed .

Need to solve that.

Note : qt5 installed in the toolchain using bitbake "meta-toolchain-qt5".

Need urgent help.

Regards,

Lavakumar S 

0 件の賞賛