Am running Ubuntu 9.1

Downloaded the 4.7.1 sources and extracted them to 2 seperate folders, one for x11 and one for qvfb.

I did a configure and make on the x11 one and did a make install successfully.
I then did a ./configure -embedded -qvfb on the qvfb folder. Worked fine. Followed by make. Worked fine.

Then, as per documentation, I go to my x11 source folder/bin and execute ./qvfb. The application launches with a black screen.

I then navigate to my qvfb source folder and to /examples/widgets/analogclock/ and run
./analogclock -qws

I see the clock window popup, however, it is in it's own window and not in the qvfb window as expected.

If I specify something like this:

./analogclock -qws -display QVFB:0
I get an error "unable to connect to X Server QVFb:0

I thought that I should install the qvfb binaries and when I tried
sudo make install on the qvfb source folder ,I land on this error.

error: ‘QWidgetPrivate* QWidget::d_func()’ is private

What is the trick to make this qvfb thing working? Do I need to turn on something in the Linux itself?

Thanks in advance for any tips.