On 27 Mrz., 16:44, Giovanni Bajo <[email protected]> wrote:
> As I said, the problem is that PyInstaller is unable to ask PyQt where
> Qt's plugins have been installed.
Is there only a problem in getting the prefix? Then what about this?
import os
import sys
from PyQt4 import QtCore, QtGui
QtGui.QApplication(sys.argv)
prefix = str(QtCore.QCoreApplication.applicationDirPath())
print os.path.join(
prefix.replace('/', os.sep),
'Lib',
'site-packages',
'PyQt4',
'plugins')
But I don't know if the subpathes are always the same...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---