Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
+2 -2
View File
@@ -65,8 +65,8 @@ if(MSVC)
add_definitions(-DG4INTY_BUILD_WIN32)
endif()
# X11 options - we only need this for Xm and/or Inventor UI
if(UNIX AND (GEANT4_USE_XM OR GEANT4_USE_INVENTOR))
# X11 options - we only need this for Xm (and Inventor, which activates XM)
if(UNIX AND GEANT4_USE_XM)
# Add the sources
list(APPEND G4INTERFACES_COMMON_MODULE_HEADERS G4Xt.hh)
list(APPEND G4INTERFACES_COMMON_MODULE_SOURCES G4Xt.cc)
+3
View File
@@ -112,6 +112,9 @@ G4Qt::G4Qt (
int *p_argn = (int*)malloc(sizeof(int));
*p_argn = argn;
#ifdef WIN32
qApp->setAttribute( Qt::AA_UseDesktopOpenGL );
#endif
new QApplication (*p_argn, args);
if(!qApp) {