I said that under Python 3, pyinstaller made a one-folder bundle of my PyQt5 app that failed with the message,
> This application failed to start because it could not find or load the Qt platform plugin "cocoa". Glenn Ramsey said, > On my builds of a working app the libqcocoa.dylib file goes here: > Contents/MacOS/qt5_plugins/platforms > Pyinstaller does this for me, though. It does it for me, too. Well, it copies into the dist folder, "libqcocoa" (no suffix). I manually copied in "libqcocoa.dylib" from the Qt5.4 distribution also, but the app terminates the same way. I do not know where this request is coming from, because I executed the following in the dist folder: otool -L * | grep ocoa and the only files that mentioned Cocoa or cocoa as an id or a link were cocoa itself (which is there) and libqcocoa and libqcocoa.dylib. And then only in the first line, which is the lib's id, not a link; or as a link to /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa, which definitely exists. -- 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/d/optout.
