How to enable global clipboard event on Mac OS?
-
Hi,
I'm writing a system tray application that watches clipboard change. So whenever other application changes the clipboard, I get notified.
I tried to use QClipboard's datachange event. it works well under windows, but it doesn't work under Mac.
I noticed the document says:
On Mac OS X and with Qt version 4.3 or higher, clipboard changes made by other applications will only be detected when the application is activated.
why is this? Global clipboard event is an useful feature, why removed it?
also, how do you define "activated"? My application is a system tray app, is it activated? I also tried a window application, still can't work.
-
Hi, this should be a limit of Macos http://stackoverflow.com/questions/5033266/can-i-receive-a-callback-whenever-an-nspasteboard-is-written-to