[Qt-interest] Qt at Set top box

Colin S. Miller no-spam-thank-you at csmiller.demon.co.uk
Wed Feb 17 21:48:32 CET 2010


Yuraj
>> no i  could not able to run  he hello world application.. I don't have 
>> any tools. please let me know
>>   
> Then that's your first care, I guess. But that's not a Qt issue, so 
> you'd probably find more help in a community or site dedicated to your 
> target platform.
> 
> André

gcc by default will produce code to run on the same machine as gcc is running on,
presumably x86-linux.

Your set-top box is probably using an ARM or PowerPC processor,
so you need to install arm-gcc or ppc-gcc.
Also, parts of the stdlib that interface with the OS will be different,
this is mainly the code behind stdio.h and memory.h. Thus there will be
a arm-MyDevice-gcc set of libraries to be used.

The output of
   cat /proc/cpuinfo
will give you some information about the device.

As André suggested, you'd be best asking on a newgroup/mailing list for the device in
question.
Once that is setup, just run arm-gcc as you'd run gcc, and it should work.

The initial error looks like the device is trying to run the executable as a shell-script.


HTH,
Colin S. Miller




More information about the Qt-interest-old mailing list