Hi folks,
I configured Qt embedded for my target which is a x86 machine running busybox with the following settings:
(the version of Qt is 4.6.3)
Qt Code:
  1. ./configure -xplatform qws/linux-x86-g++ -embedded x86 \
  2. -prefix /usr/local/Trolltech/Qt-target-version \
  3. -qt-gfx-linuxfb -qt-gfx-vnc \
  4. -no-largefile -exceptions -no-accessibility -no-qt3support -no-sse2 -qt-zlib -no-gif -no-libtiff \
  5. -qt-libpng -no-libmng -qt-libjpeg -openssl -no-nis -no-cups -depths 16 \
  6. -qt-mouse-linuxinput -confirm-license
To copy to clipboard, switch view to plain text mode 

I've used the following kernel modules to create /dev/fb0 :
Qt Code:
  1. fbcon
  2. vga16fb
To copy to clipboard, switch view to plain text mode 

running the framebuffer example located in examples/qws/framebuffer would result the following output :
Qt Code:
  1. The framebuffer device was opened successfully.
  2.  
  3. Fixed screen info:
  4. id: VGA16 VGA
  5. smem_start: 0xa0000
  6. smem_len: 65536
  7. type: 4
  8. type_aux: 0
  9. visual: 3
  10. xpanstep: 8
  11. ypanstep: 1
  12. ywrapstep: 0
  13. line_length: 80
  14. mmio_start: 0x0
  15. mmio_len: 0
  16. accel: 0
  17.  
  18. The framebuffer device was mapped to memory successfully.
  19.  
  20. Was in graphics mode already. Skipping
  21. Variable screen info:
  22. xres: 640
  23. yres: 480
  24. xres_virtual: 640
  25. yres_virtual: 480
  26. yoffset: 0
  27. xoffset: 0
  28. bits_per_pixel: 4
  29. grayscale: 0
  30. red: offset: 0, length: 6, msb_right: 0
  31. green: offset: 0, length: 6, msb_right: 0
  32. blue: offset: 0, length: 6, msb_right: 0
  33. transp: offset: 0, length: 0, msb_right: 0
  34. nonstd: 0
  35. activate: 0
  36. height: -1
  37. width: -1
  38. accel_flags: 0x0
  39. pixclock: 39721
  40. left_margin: 48
  41. right_margin: 16
  42. upper_margin: 33
  43. lower_margin: 10
  44. hsync_len: 96
  45. vsync_len: 2
  46. sync: 0
  47. vmode: 0
  48.  
  49. Frame Buffer Performance test...
  50. Average: 1319 usecs
  51. Bandwidth: 47.384 MByte/Sec
  52. Max. FPS: 758.150 fps
To copy to clipboard, switch view to plain text mode 
after running framebuffer file, the screen goes green for a moment but three squares are not shown(as it is mentioned here).

and finally when I try to run one of the demos on the target machine using the following command:
Qt Code:
  1. ./anomaly -qws
To copy to clipboard, switch view to plain text mode 
I get the following error:
VGA16 video mode not supported
I've been googling this for hours! what I'm doing wrong? why can't I run the application on my target machine?