[Qt-embedded-interest] Qt Embedded on ARM Development Board
Chris Burke
cburke at ics.com
Wed Jun 24 22:58:54 CEST 2009
The Qt app cannot find the lib directory. It needs to be located on the
device even if the application is built statically. Copy the lib
directory over from your desktop to the embedded device keeping the same
exact directory structure as it is looking for when you run the application.
Bryce Salmi wrote:
>
> Qt List,
>
> Thank you for your help! I have figured out the problem and the fix
> was found on Qtforums.com
> (http://www.qtforum.org/article/27787/tuto-how-to-install-qt-embedded-linux-4-5-1-on-arm-board-phycore-i-mx31-from-phytec.html
> ) by adapting the posts methods for the board I am working with. I
> have run into another problem though. I tried to run the framebuffer
> test program (will not work due to lack of mmap support at this time)
> but I also tried to run the widget “analogclock”. When I try to run
> this in terminal I get this:
>
> # ./analogclock -qws
> Initializing QFontEngineQPF failed for
> /usr/local/Trolltech/QtEmbedded-4.5.1-arm
> /lib/fonts/DejaVuSans.ttf
> Initializing QFontEngineQPF failed for
> /usr/local/Trolltech/QtEmbedded-4.5.1-arm
> /lib/fonts/DejaVuSans-Bold.ttf
>
> I would really appreciate any help with this issue. Deleting the fonts
> results in no error messages but it still seems like the program hangs
> just like it does with the previous error messages. The .cpp source
> file for analog clock does not seem to call any fonts either so this
> may be a Qt related problem? Could the lack of output be related to no
> mmap support? Does Qt use mmap in all its applications or does it
> differ? Thank you for your time!
>
> Sincerely,
>
> Bryce
>
> ------------------------------------------------------------------------
>
> *From:* qt-embedded-interest-bounces at trolltech.com
> [mailto:qt-embedded-interest-bounces at trolltech.com] *On Behalf Of
> *Bryce Salmi
> *Sent:* Monday, June 22, 2009 11:47 AM
> *To:* qt embedded list
> *Subject:* [Qt-embedded-interest] Qt Embedded on ARM Development Board
>
> Qt Embedded List,
> I am currently trying to get Qt Embedded to run on an ARM 11
> development board (about 35 Mb on-board memory with 256 Mb Ram)
> running a very simple version of Linux and a busybox shell. I have
> followed the installation instructions as closely as possible on the
> Trolltech website and I believe that the cross compiler is statically
> built on my computer correctly. The resulting "hello world" type
> application using code from the Trolltech tutorial builds successfully
> and is in ELF ARM file format and about 10 Mb large (seems right for
> static builds). I mount a network drive with the development board and
> try to run the program on the ARM board (since it doesn't have much
> on-board memory) however, I get the error:
>
> # ./hello
> -sh: ./hello: not found
> # ./hello -qws
> -sh: ./hello: not found
>
> This occurs even though the file is obviously there with the "ls"
> command and also occured when I tried to run it dynamically with the
> library folder mounted to my /usr/lib directory on the board and the
> 14Kb hello application residing physically on the board. That made me
> think it was a library issue which is why I built the compiler
> statically... Any ideas? I would really like to get this working and
> displaying on my LCD screen (/dev/fb0). It is very worrisome that it
> says the file cannot be found which seems very very very wrong. Any
> help would be greatly appreciated!
>
>
>
>
> Thank You,
>
> Bryce
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-embedded-interest mailing list
> Qt-embedded-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-embedded-interest
>
More information about the Qt-embedded-interest
mailing list