Cannot mix incompatible Qt library (version 0x40807) with this library (version 0x40806)
This error is happening in the pyinstaller bundles. It manifest itself differently in osx and in linux. In linux it seems that it only affects the help windows. In osx, it crashes the application.
I believe it's due to the qt plugins loading the system lib, as stated in this issue: http://code.activestate.com/lists/pythonmac-sig/23278/. It really is a "duplicated Qt libs loaded", only that it seems that the installed PySide.QtCore/QtGui is compiled against a different qt version that the one in the system.
The fix for this is double:
- patch pyinstaller to include pyside-hoooks (so it gathers plugins too)
- build pyside, from pyside-setup repository, with the --standalone flag.
In osx the standalone flag needs a patch to pyside-setup too, since it's not suppported. This commit, unmerged upstream, documents the needed patches: https://bitbucket.org/pydica/pyside-setup/commits/4b8be97e5a00b577fe30ce9aa7e5723ff2a66f94
(from redmine: created on 2015-08-05, relates #7345 (closed), relates #7320 (closed), relates #7314 (closed), relates #7990 (closed))