Problem 1047 - no rendering with qt opengl drivers
Summary: no rendering with qt opengl drivers
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: visualization/OpenGL (show other problems)
Version: 9.2
Hardware: All All
: P5 major
Assignee: John.Allison
URL:
Depends on:
Blocks:
 
Reported: 2009-02-06 22:25 CET by Derek Dolney
Modified: 2021-07-25 12:47 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Derek Dolney 2009-02-06 22:25:12 CET
I want to try the Qt visualization drivers, because the geant manual makes them sound so good. But I can't get them to work at all. I'm testing with the novice example N03:

     exampleN03
     /control/execute visTutor/exN03Vis14.mac

I get a window frame with title "viewer-0 (OpenGLStoredQt)", but there is nothing drawn inside the window. There is what looks like an OpenGL area where the geometry should be rendered, but the geometry does not appear. A copy of whatever was behind the window when it was drawn is stuck there. I can't get the geometry to draw in that window with any variation of /vis/viewer/update or refresh or anything.

I am using version 4.4.2 of the Qt libraries.
Comment 1 Derek Dolney 2009-02-10 03:03:22 CET
My thanks to John Allison for pointing out that, at least for now, one needs to use the G4UIQt session for OpenGL Qt windows to work. By using G4UIQt, I can run the OGLIQt OGLSQt examples.

Marking RESOLVED LATER, as maybe the OpenGL Qt and G4UIQt will be separated in the future, or at least some documentation will indicate the requirement.

Thanks John!
Comment 2 John.Allison 2021-07-25 12:47:39 CEST
I think we need to close this bug report. UI and vis are constantly evolving. I believe the current version of Geant4, even from 10.5, issues a warning if you attempt to open a OGL*Qt window without the Qt GUI, and opens a plain OGLSX window as a "fallback" if the app is built with X11 too.

I see you're still with 9.2. Let me encourage you to move to more recent version. We have already released a beta version 11.0. From 10.6 (I think) we no longer support Qt4, so I would also recommend moving to Qt5.

Best wishes
John