Hi,
it seems there is a bug in GraphWidget::keyPressEvent( QKeyEvent* event ) at
least in OSG 2.9.14 with Qt 4.8.2.
I guess the problem is here:
int remapKey(QKeyEvent* event)
{
KeyMap::iterator itr = mKeyMap.find(event-key());
if (itr == mKeyMap.end())
{
Hi,
GraphicsWindowQt::WindowData requires the parent widget of a graphics window to
be of type GLWidget:
struct WindowData : public osg::Referenced
{
WindowData( GLWidget* widget = NULL, GLWidget* parent = NULL ):
_widget(widget), _parent(parent) {}
GLWidget* _widget;
On Nov 7, 2011, at 17:18 PM, Robert Osfield wrote:
I'm not the author of this particular bit of code but from cursory
look it does seem to me that your interpretation is correct, and the
the parent should of QWidget type rather than GLWidget type. Have you
tried changing it at your end?
HI Marius,
I'm not the author of this particular bit of code but from cursory
look it does seem to me that your interpretation is correct, and the
the parent should of QWidget type rather than GLWidget type. Have you
tried changing it at your end?
On the ABI front I don't think this change
4 matches
Mail list logo