Cool, thats running for me too. Thanks a lot
2007/10/2, Robert Osfield <[EMAIL PROTECTED]>: > Hi Mathieu, > > I have done some experiments and come up with : > > # To select a specific version of QT define DESIRED_QT_VERSION > # via cmake -DDESIRED_QT_VERSION=4 > IF (DESIRED_QT_VERSION) > > IF (DESIRED_QT_VERSION MATCHES 4) > FIND_PACKAGE(Qt4) > ELSE(DESIRED_QT_VERSION MATCHES 4) > FIND_PACKAGE(Qt3) > ENDIF(DESIRED_QT_VERSION MATCHES 4) > > ELSE(DESIRED_QT_VERSION) > > FIND_PACKAGE(Qt4) > > IF (NOT QT4_FOUND) > FIND_PACKAGE(Qt3) > ENDIF(NOT QT4_FOUND) > > ENDIF(DESIRED_QT_VERSION) > > I've tried installing both QT3 and QT4 and got it working fine. The > only thing I found to make things tricky was that one had to remove > CMakeCache.txt each time to > prevent cached variables from causing problems. > > The modified CMake file is attached. Does this work OK for you? > > Robert. > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > -- Mathieu _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
