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
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to