[PyQt] Problem loading qml when pyqtdeployed

bootch at nc.rr.com bootch at nc.rr.com
Fri Jan 9 21:59:40 GMT 2015


At least when pyqtdeploy'ed, __file__ is returning a non-absolute path like ':/__main__.pyo'.

This stack overflow post seems relevant http://stackoverflow.com/questions/7116889/python-file-attribute-absolute-or-relative but it says after Python 3.4, __file__ should be an absolute path.

But I recall that pyqtdeploy may be setting the __freeze__ attribute of frozen modules.  Should I delve into that code?


More information about the PyQt mailing list