Practicing the arm instruction set for optimizing my c code with the BeagleBoard-xM

Hi guys,
I have installed the QT development environment, followed the
instruction given by
Trey weaver's blog
(http://treyweaver.blogspot.com/2010/10/setting-up-qt-development-
environment.html).

added the qmake following location: /opt/qt-arm/bin/qmake in the IDE.

and compiled a simple "hello world" project for the beagleboard-xM, I
tried to run the executable file on my PC but got in the IDE the error
report:
"Failed to start program. Path or permissions wrong?"

I copied the file to BB-xM's microSD and run it successfully. I don't
get it ,how come I can't run the executable file on the QEMU
(processor emulator)??

I would like to focus on getting know the arm instruction set ,so
along the book "ARM System Developer's Guide" there are few C codes
and Assembly examples which i would like to check on my BB-xM. Can
someone please suggest me how to simply debug a program on my host
computer using the cross compiler??

Thank you all, I appreciate it :slight_smile:
Gil