Dear cx_freeze users,

Is this list the appropriate place to report a bug with cx_freeze? If not, i 
apologize for this email.

Trying to make a standalone application for Mac that uses Qt, I found out that 
even the integrated example "PyQt4" fails to work: some Qt libraries are not 
found because they are referenced with a complete relative path, while in the 
distribution all libraries were copied inside the same folder.

See the command outputs below; I have also posted this issue in more details on 
stackoverflow: 
http://stackoverflow.com/questions/31379528/failed-making-a-standalone-python-qt-application-with-cx-freeze-or-py2app-on-m
 


Thank you for your help!
Thomas Deneux



~$ cd cx_Freeze-4.3.3/cx_Freeze/samples/PyQt4/
PyQt4$ ls
    PyQt4app.py setup.py
PyQt4$ python setup.py build
    ...
PyQt4$ ls
    PyQt4app.py  build  setup.py
PyQt4$ build/exe.macosx-10.5-x86_64-2.7/PyQt4app
    Traceback (most recent call last):
      File 
"//anaconda/lib/python2.7/site-packages/cx_Freeze-4.3.3-py2.7-macosx-10.5-x86_64.egg/cx_Freeze/initscripts/Console.py",
 line 27, in <module>
        exec(code, m.__dict__)
      File "PyQt4app.py", line 5, in <module>
      File "ExtensionLoader_PyQt4_QtGui.py", line 22, in <module>
      File "ExtensionLoader_PyQt4_QtGui.py", line 14, in __bootstrap__
    ImportError: 
dlopen(/Users/thomasdeneux/cx_Freeze-4.3.3/cx_Freeze/samples/PyQt4/build/exe.macosx-10.5-x86_64-2.7/PyQt4.QtGui.so,
 2): Library not loaded: @loader_path/../../../libQtGui.4.dylib
      Referenced from: 
/Users/thomasdeneux/cx_Freeze-4.3.3/cx_Freeze/samples/PyQt4/build/exe.macosx-10.5-x86_64-2.7/PyQt4.QtGui.so
      Reason: image not found


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to