1

Topic: Teamwork OSG WinApi in Qt

Good afternoon, there was a question: there is a window implemented on WinApi, on it are located  1 and  2, all is good, but as soon as I place on the created window , inherited from public QWidget, public osgViewer:: CompositeViewer all possible manipulations with a primary window ( and draggings) are inaccessible. With what  how to overcome? In advance thanks!

2

Re: Teamwork OSG WinApi in Qt

Hello, arfaa, you wrote: A> A> public QWidget, public osgViewer:: CompositeViewer A> With osg no business had, but as assumptions: If this osgViewer:: CompositeViewer to place in one more , which on a primary window, instead of at once directly in the main thing? Macro Q_OBJECT in  is? No methods/members at simultaneous inheritance are superimposed? Can for osg it is required any QOpenGLWidget?

3

Re: Teamwork OSG WinApi in Qt

Hello, XOOIOOX, you wrote: XOO> Hello, arfaa, you wrote: A>> A>> public QWidget, public osgViewer:: CompositeViewer A>> XOO> With osg no business had, but as assumptions: XOO> If this osgViewer:: CompositeViewer to place in one more , which on a primary window, instead of at once directly in the main thing? XOO> macro Q_OBJECT in  is? XOO> no methods/members at simultaneous inheritance are superimposed? XOO> can for osg it is required any QOpenGLWidget? 1. Placed in one more , the same result if to make parent = 0 and show-> all  if to place  with osgViewer in window WinApi there is a problem 2. Q_OBJECT - is 3. Are not superimposed 4. Tried to place in QOpenGLWidget, and then QOpenGLWidget to place already on principal , falls with an exception

4

Re: Teamwork OSG WinApi in Qt

Hello, arfaa, you wrote: A> Good afternoon, there was a question: there is a window implemented on WinApi, on it are located  1 and  2, all is good, but as soon as I place on the created window , inherited from A> A> public QWidget, public osgViewer:: CompositeViewer A> all possible manipulations with a primary window ( and draggings) are inaccessible. With what  how to overcome? In advance thanks! And qtwinmigrate did not try , or does not approach?

5

Re: Teamwork OSG WinApi in Qt

Hello, arfaa, you wrote: A> Good afternoon, there was a question: there is a window implemented on WinApi, on it are located  1 and  2, all is good, but as soon as I place on the created window , inherited from A> A> public QWidget, public osgViewer:: CompositeViewer A> all possible manipulations with a primary window ( and draggings) are inaccessible. With what  how to overcome? In advance thanks! About osgViewer I do not know, it is possible not in a subject, but in Qt  applications are integrated through QWindow and in particular QWindow:: fromWinId (WId id)