| Summary: | no rendering with qt opengl drivers | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Derek Dolney <nospam> |
| Component: | visualization/OpenGL | Assignee: | John.Allison |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | mihkzwvfy |
| Priority: | P5 | ||
| Version: | 9.2 | ||
| Hardware: | All | ||
| OS: | All | ||
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! 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 |
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.