[solved] macdeployqt for Qt5 not working
I tried to deploy my application with the macdeployqt program, and I was running in the following problem:
bash-3.2$ sudo /Users/mike/src/qt5/qtbase/bin/macdeployqt tlab.app
ERROR: file copy failed from "/Users/mike/src/topen/pythonqt/plugins/platforms/libqcocoa.dylib"
ERROR: to "tlab.app/Contents/PlugIns/platforms/libqcocoa.dylib"
ERROR: file copy failed from "/Users/mike/src/topen/pythonqt/plugins/printsupport/libcocoaprintersupport.dylib"
ERROR: to "tlab.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib"
ERROR: file copy failed from "/Users/mike/src/topen/pythonqt/plugins/accessible/libqtaccessiblewidgets.dylib"
ERROR: to "tlab.app/Contents/PlugIns/accessible/libqtaccessiblewidgets.dylib"
ERROR: file copy failed from "/Users/mike/src/topen/pythonqt/plugins/accessible/libqtaccessiblequick.dylib"
ERROR: to "tlab.app/Contents/PlugIns/accessible/libqtaccessiblequick.dylib"
After a quick search, I found "this closed bug report":https://bugreports.qt-project.org/browse/QTBUG-23959 with a pointer to the "this":https://bugreports.qt-project.org/browse/QTBUG-14699 "solution". But for it is not working because I need the plugins, if I use the deploy tool without he is complaining not to have the cocoa plugin by printing out this:
Failed to load platform plugin "cocoa".
Please try new version of the tool made by Ivan: "link":https://codereview.qt-project.org/#change,47906. If all goes well, it will become part of Qt in 5.1 or 5.2.
After git fetch and a build I tested it and it was working directly.
Thanks a lot
Great. Hopefully your comment will seed up the inclusion of this change into upstream Qt.