Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
+8 -6
View File
@@ -27,8 +27,6 @@
//
// L. Garnier
#if defined(G4INTY_BUILD_QT) || defined(G4INTY_USE_QT)
#include <stdlib.h>
#include <string.h>
@@ -40,6 +38,10 @@
#include <qapplication.h>
#ifdef G4VIS_USE_VTK_QT
#include <qsurfaceformat.h>
#include "QVTKOpenGLNativeWidget.h"
#endif
G4Qt* G4Qt::instance = NULL;
@@ -115,6 +117,10 @@ G4Qt::G4Qt (
#ifdef WIN32
qApp->setAttribute( Qt::AA_UseDesktopOpenGL );
#endif
#ifdef G4VIS_USE_VTK_QT
QSurfaceFormat::setDefaultFormat(QVTKOpenGLNativeWidget::defaultFormat());
#endif
new QApplication (*p_argn, args);
if(!qApp) {
@@ -194,7 +200,3 @@ bool G4Qt::IsExternalApp (
{
return externalApp;
}
#endif