[Interest] QActions not moved to application menu properly

Murphy, Sean smurphy at walbro.com
Tue Sep 22 20:56:33 CEST 2020


I'm not on a Mac right now, so I can't try this, so I don’t know if this will work:

As each window (I assume these are QMainWindow, or at least inherit from 
one) is closed, are you deleting them? If so, when you get to the last one, could 
you hide it instead of deleting it? Or when you've deleted the last one, then 
immediately create a new one and hide it?

My theory being that maybe for Qt to do it's Mac menu magic, there needs 
to always be a QMainWindow present (but not necessarily shown)?

Just a total guess on my part...
Sean


This message has been scanned for malware by Forcepoint. www.forcepoint.com


More information about the Interest mailing list