[PyQt] Simulating QEvent::FileOpen without building macOS bundle

Patrick Stinson patrickkidd at gmail.com
Sun Mar 29 19:36:30 BST 2020


Have any of you macOS users found a way to allow the python binary to accept events when you double-click a certain file type or drop a file on the python Dock icon?

I have always built a bundle with the proper entries in the plist file to debug this behavior in my QApplication event filter. I am just looking for a way to speed up my workflow a little.

Thanks!
-Patrick


More information about the PyQt mailing list