Robert, My system has cmake 2.6.1 installed. I initially found the QT_USE_WEBKIT in cmake-2.6.1/Modules/FindQt4.cmake and it seemed to work. After a bit more searching I found QT_QTWEBKIT_FOUND works as well and is more consistent with the rest of the cmake variables in OSG's CMakeLists.txt. Also, your suggestion of QT_QTWEBKIT_INCLUDE_DIR works too.
Ken. Hi Ken, Does QT_USE_WEBKIT get defined by cmake on your system? I've just run ccmake and and can't spot QT_USE_WEBKIT on my list at QT related variables - I have cmake 2.6.2 installed. I have QT_QTWEBKIT_INCLUDE_DIR listed, would using this work for you? Robert. On Fri, Dec 11, 2009 at 3:14 PM, Sewell, Kenneth R Civ USAF AFRL/RYZW <[email protected]> wrote: > When trying to configure OSG 2.9.6, if the system doesn't have QtWebKit > installed cmake will not configure the examples. Making the following > change seems to fix it (at least on my Suse 11.0 box): > > > > IF (QT4_FOUND) > > ADD_SUBDIRECTORY(osgQtBrowser) > > ENDIF() > > > > changed to: > > > > IF (QT4_FOUND AND QT_USE_WEBKIT) > > ADD_SUBDIRECTORY(osgQtBrowser) > > ENDIF() > > > > > > > > -Ken. > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

