Running Pyqt App Error On Mac

- BCS Finder Application for Windows/Mac/Linux. Only works with BCS firmware version 4.0 alpha preview 3 and later. Qt 5 - tested with 5.3.0; PyQt5 - tested with 5.3; Python 3 - tested with 3.3.3, 3.4.1; cxFreeze - For building Mac/Windows executables; Setup Mac. Build an.app with: python setup.py bdistmac Any platform.
- After doing research, it appeared the problem was caused by an incompatibility between the qt and pyqt packages and the older release of the Mac OS X OS. To correct the problem, used the 'conda install' command to downgrade to specific versions of qt, pyqt and sip that were reported to work on Mac OS X 10.9.5. Server$ conda update -all.
- Pyqtdeploy-build pyqt-demo.pdy Back in June 2016, there was a mailing list message that indicated that pyqtdeploy works. It's 2018 as I'm writing this so I assume pyqtdeploy has matured; the latest package version is 2.0.1 which was released on 5 January 2018.
MacOS Mojave, released in September of last year, introduced a user-toggleable 'Dark Mode'. This enables a system-wide dark colour scheme, intended to make things easier on your eyes at night, or less distracting when working with content. The mode was supported by all built-in Mac apps on release, but 3rd party applications (including those developed with PyQt) were left looking a bit out of place.
The support for Dark Mode in Qt was targeted for 5.12 which landed in December 2018, with the first Python support in PyQt 5.12 released February 2019.
Early implementations had a few issues (see below) but as of PyQt 5.12.2 it's looking great. The pictures below show the same example app (just a random assortment of widgets) under Dark Mode and (default) Light Mode on MacOS Mojave.
Learn what to do if the Creative Cloud desktop app fails to install or update. How to fix 'failed to install' or 'failed to update' errors The Creative Cloud desktop app fails to install or update usually because the Creative Cloud apps on your machine have become corrupted or your machine can't connect to the Adobe servers.
If anybody encounters error: configure.py: error: '/Users/xxx/Qt5.3.2/5.3.2/clang64/bin/qmake' is not an executable. S/he should change it to configure.py: error: '/Users/wangyu/Qt5.3.2/5.3/clang64/bin/qmake' is not an executable. Or any path qmake actually lives. Pyqtdeploy-build pyqt-demo.pdy Back in June 2016, there was a mailing list message that indicated that pyqtdeploy works. It's 2018 as I'm writing this so I assume pyqtdeploy has matured; the latest package version is 2.0.1 which was released on 5 January 2018. The latest PyQt5 wheels (which can be installed via pip) only contain what's necessary for running applications, and don't include the dev tools. This applies to PyQt versions 5.7 and later. For PyQt versions 5.6 and earlier, there are binary packages for Windows that also include the dev tools, and these are still available at sourceforge.The maintainer of PyQt does not plan on making any.
If you're on PyQt 5.12.2 or over Dark Mode is automatic. If your computer is in Dark Mode, your Qt apps should appear in the appropriate colour scheme. Mac brightness contrast app.
Example app on MacOS Mojave in Light Mode — PyQt 5.12.2
Example app on MacOS Mojave in Dark Mode — PyQt 5.12.2
Issues on earlier versions
While PyQt 5.2.12 applications look great in Dark Mode, earlier versions have had a few issues. Below are a few screenshots of the same example app taken across earlier releases. If you're releasing your PyQt 5 apps to MacOS you might want to take a look at how it handles.
Downgrading to PyQt 5.12 produces the UI below — more or less fine, but with a missing colour on the spin-wheel nubbin. It doesn't effect the functioning of the app, just looks a bit less nice.
Example App in Dark Mode — PyQt 5.12, showing tiny style error How to check for app updates on mac youtube.
Downgrading further to PyQt 5.10 produces this disaster. Strangely the wheel is now shaded properly, but the text is white-on-white.
Running Pyqt App Error On Mac Shortcut
Example App in Dark Mode — PyQt 5.10, it ain't pretty.
Weirdly, although PyQt 5.11 looks just as bad, 5.9 looks slightly better (as in potentially usable).
Running Pyqt App Error On Mac Windows 10
Example App in Dark Mode — PyQt 5.9, at least you can see some of the text
Pyqt Software
The bottom line is: if you're targeting MacOS with your applications and using < PyQt5.12.2 then now would be a very good time to upgrade and ensure your app looks as great as it can under Mojave Dark Mode.