Need help compiling Qt for embedded device (i.mx51 evk)

Page  
2

February 8, 2011

ngrosjean ngrosjean
Lab Rat
35 posts

Hi!

I suppose you have these glib-2.0 install, haven’t you? (try a “locate glib-2.0” perhaps).

February 8, 2011

almagest almagest
Lab Rat
36 posts

ngrosjean gave a good tip.

Also, sanjay1758, please dont post multiple identical posts on the same board.
It only creates confusion. Your other thread [developer.qt.nokia.com]

—————-

Hello.

When you try to compile for the target platform you have to point Qt toward the libraries compiled for that system. It is apparent that you miss the file libglib-2.0.so , either because the folder provided in qmake.conf is wrong or because the file simply isnt there. Obviously you cannot provide a path to your laptop/workstations version of these libraries to solve the issue.

If you use LTIB when setting up the image to be used on the card, look at the second link. It specifies that you use glib2.0 when you compile qt.

Regarding opengl, es2, tslib;
Tslib can be compiled from source (i did myself) to solve this issue.
You can also probably get away by copying the gl,es2 etc files from a precompiled image.
I have a Freescale i.MX51 EVK card, and downloaded a precompiled image from their website.
It contained all the files i needed to get these systems up and running.

Most of the questions related to LTIB (ubuntu) can be seen here;
Builing LTIB on Ubuntu 10.04 [imxcommunity.org]

As for compiling Qt for the Imx.51 EVK, look at this;
All Boards Qt iMXwiki [imxdev.org]

Best regards
almagest

September 14, 2011

raikiri raikiri
Lab Rat
1 posts

check the configure scripts. mostly it is failing trying to make sample opengl file in src/config.tests/unix/opengles* , where * is 1 or 2 depending on the version you are compiling. cd to the directory and do a make.
This is auto generated make file. If it fails, you will get the opengl configuration error while doing a configure also. Try setting right values in the make file. If you are able to build this, set the same values in qmake.conf.

Page  
2

  ‹‹ [Solved] After compiling I have no /include/QtDesigner, Why?      Compile Errors Building Qt 4.6.3 With VS2008 For Windows x86_64 platforms ››

You must log in to post a reply. Not a member yet? Register here!