Hi all,
For a little while now I've had a local change to my OSG source tree and
didn't think it was important enough to discuss since no one else seemed
to have that problem. I'd like to remove this local change now, so my
tree will build cleanly without any modifications...
In the osgQtBrowser example, QGraphicsViewAdapter.cpp, there is the line
_graphicsScene->setStickyFocus(true);
I am compiling with Qt 4.4.3, and it seems this method is not available
in this version. A) Is this really necessary, and B) is there some check
we can do (for example #ifdef SOME_VERSION_OF_QT) that would allow us to
skip that method call?
I don't know when setStickyFocus(bool) was added to QGraphicsScene,
maybe Qt 4.5? But as I said, is it even necessary? The example seems to
run well without it, but it's perhaps some detail that I didn't notice
(I'm not familiar with Qt coding).
Can anyone suggest a good fix?
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org