Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.5.2
-
None
Description
When embedding a qt widget inside a native carbon application, if the user want to quit they will call Ctrl + Q to exit the Host-Application ("Apple+q" or directly from the MenuBar).
Qt receives the kHICommandQuit event, works with it and finally eats it. This causes a problem because the Host-Application never gets this event (because it was eaten) and so it can't finish its job.
A possible workaround in the Qt-Source-Code is to the file "qapplication_mac.mm". Adding the line "CallNextEventHandler (caller, event);" at the end of area "if(cmd.commandID == kHICommandQuit)", line 2333. The Host-Application gets the event correctly.