Dear All,
As pointed out here: [Installation Error] Install with Qt6 in Windows
and here: https://bugzilla-geant4.kek.jp/show_bug.cgi?id=2599#c6
there were compiling errors when compiling G411.2.1 with Qt6 on windows.
I’ve tried to compile the new version G411.2.2 (with the fixing) and similar errors still occur on other files, as I already reported in the bugzilla post.
After my patch, G4 compiles correctly.
Now, my problem is that when I run my application, the following graphics systems are available:
ASCIITree (ATree)
- DAWNFILE (DAWNFILE)*
- G4HepRepFile (HepRepFile)*
- RayTracer (RayTracer)*
- VRML2FILE (VRML2FILE)*
- gMocrenFile (gMocrenFile)*
- TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)*
- TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)*
- OpenGLImmediateWin32 (OGLIWin32, OGLIQt_FALLBACK)*
- OpenGLStoredWin32 (OGLSWin32, OGLSQt_FALLBACK)*
- Qt3D (Qt3D)*
- TOOLSSG_QT_GLES (TSG_QT_GLES, TSGQt, TSG, OGL)*
- TOOLSSG_QT_ZB (TSG_QT_ZB, TSGQtZB)*
- TOOLSSG_WINDOWS_GLES (TSG_WINDOWS_GLES)*
- TOOLSSG_WINDOWS_ZB (TSG_WINDOWS_ZB)*
While when compiling G4.11.2.2 with Qt5 the following graphic systems are available:
- ASCIITree (ATree)*
- DAWNFILE (DAWNFILE)*
- G4HepRepFile (HepRepFile)*
- RayTracer (RayTracer)*
- VRML2FILE (VRML2FILE)*
- gMocrenFile (gMocrenFile)*
- TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)*
- TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)*
- OpenGLImmediateQt (OGLIQt, OGLI)*
- OpenGLStoredQt (OGLSQt, OGL, OGLS)*
- OpenGLImmediateWin32 (OGLIWin32, OGLIQt_FALLBACK)*
- OpenGLStoredWin32 (OGLSWin32, OGLSQt_FALLBACK)*
- Qt3D (Qt3D)*
- TOOLSSG_QT_GLES (TSG_QT_GLES, TSGQt, TSG)*
- TOOLSSG_QT_ZB (TSG_QT_ZB, TSGQtZB)*
- TOOLSSG_WINDOWS_GLES (TSG_WINDOWS_GLES)*
- TOOLSSG_WINDOWS_ZB (TSG_WINDOWS_ZB)*
As you can see the OpenGLImmediateQt and OpenGLStoredQt are missing with Qt6.
It seems that Qt is found correctly but I cannot understand why these graphics systems are not available.
Do you have any suggestion?
Moreover:
With Qt6, by deafult the command /vis/open runs OGL, the TOOLSSG_QT_GLES is used and it works
By running the command /vis/open Qt3D, the application crashes → am I doing someting wrong?
Andrea
_Geant4 Version:_11.2.2
_Operating System:_Windows 11
_Compiler/Version:_VS2022 17.9
_CMake Version:_3.22.2