I am trying to apply macdeployqt to a bundle where the application is a shell script, say myscript, that executes binaries, say myexe1 and myexe2.
macdeployqt <path to bundle>/Contents/MacOS/myscript
-executable=<path to bundle>/Contents/Resources/bin/myexe1
-executable=<path to bundle>/Contents/Resources/bin/myexe2
This results in error messages:
ERROR: Cound not find bundle binary for "<path to bundle>/Contents/MacOS/myscript"
ERROR: "error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: (No such file or directory)
ERROR: "error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: (No such file or directory)
ERROR: "error: /Library/Developer/CommandLineTools/usr/bin/otool-classic: can't open file: (No such file or directory)
It appears that macdeployqt is expecting a binary as its main argument, which is not my use case. Since myexe1 and myexe2 are linked dynamically against some Qt components, I suppose I need to use macdeployqt somehow.
So what would be the proper way to handle this situation?