Unsolved Macdeployqt for Command Line Executable?
-
When I run macdeployqt on a binary, I get "ERROR: Could not find bundle binary for ...".
How can I use macdeployqt to make a binary executable (without .app bundle) to run on other machines without QT? -
Hi,
Do you mean a CLI application ? If so, they usually do not have bundles.
One possibility is to use a static build of Qt but you have to take into consideration the constraints of the licence you are using for Qt.
-
@SGaist yes, CLI application.
I'm just compiling an open source cli application for personal use.
Can I do this with qt open source? -
Yes you can.
-
@SGaist awesome! My qt binary is installed with brew install qt5 on Mac. Is there a specific instruction for this? Thanks!
-
If you want a full static build, you'll have to build it yourself.