AnsweredAssumed Answered

QT appliaction on MCIMX6DLAICPU2

Question asked by Abhirup Mitra on May 3, 2017
Latest reply on May 4, 2017 by igorpadykov

Hi ,

 

I want to build qt application on  MCIMX6DLAICPU2

I have selected DISTRO as x11 and build the image as fsl-image-qt5 .

If do  bitbake fsl-image-qt5 -c populate_sdk , I didn't get qmake in sdk which is required for cross compiling.

I tried with bitbake meta-toolchain-qt5 and got qmake but while cross compiling I was unable to generate output .

I used qt creator 5.8.0 and set the cross compiler toolkit properly , but it gave following errors:

 

g++ -o QtExample main.o exqamplewidget.o moc_exqamplewidget.o -lQt5Widgets -lQt5Gui -lQt5Core -lGLESv2 -lpthread

/usr/bin/ld: cannot find -lQt5Widgets

/usr/bin/ld: cannot find -lQt5Gui

/usr/bin/ld: cannot find -lQt5Core

/usr/bin/ld: cannot find -lGLESv2

collect2: error: ld returned 1 exit status

make: *** [QtExample] Error 1

12:47:06: The process "/usr/bin/make" exited with code 2.

Error while building/deploying project QtExample (kit: iMX-6)

The kit iMX-6 has configuration issues which might be the root cause for this problem.

When executing step "Make"

12:47:06: Elapsed time: 00:00.

 

Please give the solution .

 

Thanks ,

Abhirup Mitra

Outcomes