[Qt-interest] Cocoa Qt version and keyboard shortcuts not working

Paul Miller paul at fxtech.com
Thu Mar 11 19:58:24 CET 2010


On 3/11/2010 12:23 PM, Murphy, Sean M. wrote:
>> I'm using Qt in a Photoshop plugin and I see that when using the Cocoa
>> version of Qt, none of my keyboard shortcuts on my toolbar QActions
>> trigger.
>
> I don't have an answer, but had a question for you about plugins.  Did
> you have to do anything "weird" to get the Qt event loop to spin for
> your plugin?  Last year I wrote a plugin for a non-Qt application, and
> struggled quite a bit to get Qt's event loop to spin, without blocking
> the host application's event loop.  This other application makes
> blocking calls to running plugins, so my plugin couldn't call exec() or
> the host application locks up until my plugin returns from exec().
>
> I've got no experience with Photoshop plugins, but was just curious if
> you ran into similar issues with what you're doing...

No, I didn't have these problems with Photoshop. I had other problems, 
like Qt interfering with the host app's menubar, but I found ways of 
disabling that.

When using the Carbon version of Qt, I didn't experience the problems 
with keyboard shortcuts at all.



More information about the Qt-interest-old mailing list