Hello,
I wrote a mll plugin for maya and use qt in it (I use maya 2011 x64 on windows and Qt opensource 4.5.3, build with vs2008).
There’s a QMainFrame in my plugin and some actions with shortcut added to the widget.
When I run it in maya, I can’t use any hotkey to invoke the my actions. For example, I set the Ctrl+n to my own “new file” action, but after I pressed Ctrl+n in maya (I focused on my widget), it just made a new maya scene, not my “new file” action. Then I tried to change the hotkey which isn’t existing in maya, like Ctrl+e, but failed also.
But I start my widget in standalone QApplication, I can use all my hotkeys!
So I can’t catch the hotkey in maya any more.
How to fix it?
Thx!