OSX: Qt (cocoa port) grayed out the menu-bar of Photoshop CS4
I'm now writing a plugin for Photoshop CS4 and using Qt as user interface. I set the flag Qt::AA_MacPluginApplication before creating a QApplication. But after showing up a QDialog and closing it, the Photoshop menu-bar is totally grayed out - none of menu item is clickable.
Photoshop CS4 was written in Carbon, but I built Qt with Cocoa -- if I use Carbon version of Qt, it works fine! So do I need to call some Carbon API (I'm quite new to OSX...) to enable the menu-bar again after closing Qt dialogs?
Thanks in advance!