Ignore:
Timestamp:
Nov 22, 2007, 6:40:23 PM (17 years ago)
Author:
garnier
Message:

Modification pour Qt4 sur windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/visualization/OpenGL/src/G4OpenGLQtViewer.cc

    r610 r612  
    196196    }
    197197#endif
    198     // FIXME : not tested in Qt4
     198
     199#if QT_VERSION < 0x040000
    199200    glWidget->reparent(GLWindow,0,QPoint(0,0)); 
     201#else
     202    glWidget->setParent(GLWindow); 
     203#endif
    200204
    201205    if (found==false) {
Note: See TracChangeset for help on using the changeset viewer.