Qt Panels on OS X could not work as native in some cases
I have an example of code that shows the problem.
I create 1 window and 1 panel. I create panel that does not steal activation state from the general window when I click to this one. How can I do the same on Qt? Is it possible?
NSRect rect = NSMakeRect(0, 0, 640, 480); NSWindow* pWindow = [[NSWindow alloc] initWithContentRect: rect styleMask: NSTitledWindowMask | NSResizableWindowMask backing: NSBackingStoreRetained defer: false]; NSPanel* pPanel = [[NSPanelalloc] initWithContentRect: rect styleMask: NSTitledWindowMask | NSResizableWindowMask | NSClosableWindowMask | NSHUDWindowMask backing: NSBackingStoreRetained defer: false]; [pWindow display]; [pPanel display]; [pPanel setBecomesKeyOnlyIfNeeded: YES]; [pWindow makeKeyAndOrderFront: pWindow]; [pPanel orderFront: pPanel];