PDA

View Full Version : Carbon version hides the menu ( AA_MacPluginApplication )



torokze
14th November 2010, 16:51
Hi,

I'm developing an ArchiCAD add-on. Because the ArchiCAD still uses Carbon I have to use Carbon version of Qt ( 4.7.0, 4.7.1 ). I set the AA_MacPluginApplication application attribute. The add-on works properly except it hides the ArchiCAD menu completely.
The same plugin under Photoshop ( using the Cocoa version of Qt ) works well.

The add-on shows a appmodal QDialog as it's main UI ( exec( ) );

Is there another way to prevent ( other than AA_MacPluginApplication ) ?

Thanks,
Zé

jascha
22nd November 2010, 20:58
Setting AA_MacPluginApplication as well as AA_DontUseNativeMenuBar before instantiating QApplication worked for me on Carbon and Cocoa (with different host apps though).