PyQt on OS X
I have written a nice desktop app in PyQt and it works well on Linux, I was investigating how easy it would be to get it running on a Mac.
I have an OS X 10.12 Sierra build running
I looked at the homebrew install path method
brew install qt brew install sip brew install pyqt5
When I try to execute my script I see:
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Abort trap: 6
Has anyone got any Ideas?
Hey, my dev is pyqt on Mac... tooling around the internet I found that there is a brew install python option that force-includes pyqt... but I seem to have lost the link.
That said, when it comes to python/node, I'm a fan of local environments and minimal brew usage. I downloaded Qt/sip/pyqt src and built everything inside a python venv and found it to be really easy.
Just recently I hammered out the details so that I could get designer custom widgets working and logged my steps here:
hopefully this helps,