I have a Qt application (qtapp) which uses v3dfx to display video. The application is very similar to the demo app that is provided with v3dfx with the exception that there is only one executable which is responsble for both drawing the Qt interface and displaying the video using v3dfx.
If I start the application using the following command line:
qtapp -qws -display "LinuxFb:/dev/fb1"
I see the Qt interface. When I press the button to display video, I do not see any v3dfx video (I just see black). The Qt interface is still visible.
If I start the application using the following command line:
qtapp -qws
I see the Qt interface. When I press the button to display video, the Qt interface disappears and I see the v3dfx video.
I have closely followed the v3dfx example with the exception that I am using a single application. Do I need to use 2 separate applications to make v3dfx work? I hope I can use v3dfx within a Qt application and if so, I wonder if anyone can suggest what I might be doing wrong?
Note: The v3dfx demo app runs perfectly on my system.
Thx, Steve