I think you need g++, compiled for ARM.
Qt specs depending on installed (on BeagleBoard) operating system.