Running Qt gui applications on the desktop installed with default angstrom distribution

Hi,
I am using beaglebone black connected to an hdmi monitor. How can I create Qt gui applications for the angstrom desktop environment.
I wish to know whether this is supported natively.
I could cross compile a Qt application which did not use qui, however, the gui application runs but does not bring up the widget window, even with -qws option. Can anyone help.
Do I need to set some variables or should I compile Qt for X11 on beaglebone.