On Monday 23 June 2008 15:02, Carbonimax wrote: > If I copy the dll in the dist directory, and I use QPluginLoader() and > load(), > it does work in the .py but it doesn't in .exe made with py2exe > > my code : > dll = QPluginLoader(path_to_dll) > res = dll.load() > > res == true in the .py > res == false in the .exe > > :-/
Maybe py2exe builds executables that can't load DLLs in this way. In any case, it might be worth asking about this on the PyQt mailing list http://www.riverbankcomputing.com/mailman/listinfo/pyqt or on the py2exe mailing list https://lists.sourceforge.net/lists/listinfo/py2exe-users where there may well be people who have solved this problem independently. David -- http://mail.python.org/mailman/listinfo/python-list