Dear all,
I have recently performed some tests with the new G4 version 11.3.0-beta and found some issues.
- I have compiled this version in Debug mode as static libraries with Qt5.15.2 and run the exampleB1. After the end of run, the application stops with the following error:
Debug Error!
Program: C:\Qt\5.15.2\msvc2019_64\bin\Qt5Cored.dll
Module: 5.15.2
File: kernel\qcoreapplication.cpp
Line: 558
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 0x0x18ede0f8330. Receiver '' (of type 'QGLWidget') was created in thread 0x0x18ecb0034f0", file kernel\qcoreapplication.cpp, line 558
The same G4 version compiled in the same way but with Qt6.6.2 works fine.
- When compiling G4.11.3.0-beta with Qt6.6.2 including OPENGL_WIN32, I still get compilation errors related to this issue: https://bugzilla-geant4.kek.jp/show_bug.cgi?id=2599 (files G4OpenGLWin32Viewer.cc and glarea). The compilation worked fine by applying my patch (attached in the Bugzilla problem).
I hope this information could help fix these problems before the official release of the G411.3.0.
Just to know: is there any news about the new arrangement of the libraries to allow the compilation of Debug DLLs on Windows? (see G4 11.0.0 Debug build on Windows: linker error 1189 (dll size) - #2 by sufuk)
Andrea
_Geant4 Version:_11.3.0-beta
_Operating System:_Windows11
_Compiler/Version:_VS2022 17.9
_CMake Version:_3.22.2