Skip to content

Commit

Permalink
correct qt for qt4 also
Browse files Browse the repository at this point in the history
  • Loading branch information
dsarrut committed Jan 5, 2016
1 parent 588e265 commit 8a83de7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#ifdef G4UI_USE
#include "qglobal.h"
#include "G4UIExecutive.hh"
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
#if (QT_VERSION >= QT_VERSION_CHECK(4, 0, 0))
#include <G4UIQt.hh>
#include <qmainwindow.h>
#endif
Expand Down Expand Up @@ -337,7 +337,7 @@ int main( int argc, char* argv[] )
if( isQt )
{
#ifdef G4UI_USE
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
#if (QT_VERSION >= QT_VERSION_CHECK(4, 0, 0))
ui = new G4UIExecutive( argc, argv );
G4UIQt* qui = static_cast<G4UIQt*> (UImanager->GetG4UIWindow());
if (qui) {
Expand Down

0 comments on commit 8a83de7

Please sign in to comment.