04-25-2012 10:54 AM
What is the best way to get a native window handle for multiple widgets?
My main application widget has a window handle
I then create another QWidget inside of a frame and attempt to get a window handle by calling winId(). This does not seem to return a handle to the native window.
I can force the window to be native by setting a nativeattribute, but this cause a mess of other layout issues because the screen position coordinates are not set correctly.
FYI: I am using a fairly recent version of the qt4.8 source