Hi,
I am getting a failure when running a packaged app on OSX (10.8.4) with the
following simple PyQt4 app:
from Pyt4.QtCore import QDir
from PyQt4.QtGui import QApplication, QMessageBox
import os, sys
def main():
print "Hello"
a = QApplication(sys.argv)
m = QMessageBox(QMessageBox.Information, "Title", "Hello")
m.show()
m.raise_()
a.exec_()
>./dist/hello.app/Contents/MacOS/hello
...
dlopen("/path/to/dist/hello.app/Contents/MacOS/PyQt4.QtCore.so", 2);
Traceback (most recent call last):
File "<string>", line 31, in <module>
File "/path/to/pyinstaller/PyInstaller/loader/pyi_importers.py", line 409, in
load_module
module = imp.load_module(fullname, fp, filename, self._c_ext_tuple)
ImportError: dlopen(/path/to/dist/hello.app/Contents/MacOS/PyQt4.QtCore.so, 2):
bad rebase type 0 in /path/to/dist/hello.app/Contents/MacOS/QtCore
This is using PyQt 4.10.2 built against Qt 5.1.0. It works when PyQt4 is built
using Qt 5.0.2 and it works if the program is run from the command line. It also
has the same problem with PyQt5 built against Qt 5.1.0.
What is going wrong here?
Glenn
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/groups/opt_out.