<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I am a developer for the Electron-Cash project which makes heavy use of PyQt.  We love your software!</div><div><br></div><div>However -- in trying to get our app to receive URIs from the OS, we have run into some hitches on macOS.   Our app uses URIs of the from: "bitcoincash:xxxxx"</div><div><br></div><div>From our testing is appears the QFileOpenEvent never makes it to our QApplication instance no matter what we do.</div><div><br></div><div>We did everything right, bundled our app into a standalone .app bundle using pyinstaller, with an Info.plist, etc.</div><div><br></div><div>Our app does get started by macOS, indicating that it is trying to send a URL to our app -- however the event filter or the event() function of our QApplication instance never receives a QFileOpenEvent.</div><div><br></div><div>If I replace the app with a compiled C++ program that uses Qt, we do get the QFileOpenEvent in the event() method of the QApplication instance.</div><div><br></div><div>I am beginning to suspect this may be a PyQt-specific issue.</div><div><br></div><div>I started to grok the PyQt sources and noticed that QFileOpenEvent is mentioned in the context of a QInputEvent "subclass" in <font face="monospace, monospace"> sip/QtGui/qevent.sip.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">However, QFileOpenEvent </font><font face="arial, helvetica, sans-serif">is not a subclass of QInputEvent.  Perhaps this is the source of the bug?</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Any insights are welcomed!</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Thanks!</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">-Calin</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div></div></div>