Last active
October 7, 2015 15:17
-
-
Save janpipek/ec56a66233698841f5bf to your computer and use it in GitHub Desktop.
FIx to use Qt5 with Geant4 10.1.p02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -rup geant4.10.01.p02-p/source/interfaces/basic/src/G4UIQt.cc geant4.10.01.p02/source/interfaces/basic/src/G4UIQt.cc | |
--- geant4.10.01.p02-p/source/interfaces/basic/src/G4UIQt.cc 2015-03-16 16:55:41.000000000 +0100 | |
+++ geant4.10.01.p02/source/interfaces/basic/src/G4UIQt.cc 2015-10-07 15:52:15.182301156 +0200 | |
@@ -721,7 +721,7 @@ bool G4UIQt::AddTabWidget( | |
fViewerTabWidget->addTab(aWidget,name); | |
- fViewerTabWidget->setCurrentIndex(fViewerTabWidget->count()-1); | |
+// fViewerTabWidget->setCurrentIndex(fViewerTabWidget->count()-1); | |
// Set visible | |
#if QT_VERSION < 0x040200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Download and in your source dir just type
patch -p1 < fix-geant4.10.1.2-qt5.patch