Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
awx
New Contributor
awx
Posts: 3
Registered: ‎04-15-2012
My Device: Playbook

qt native window handles

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

Please use plain text.