probonopd / linuxdeployqt

Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Other
2.22k stars 414 forks source link

Couldn't find app-binary error #589

Open kenjiWuJian opened 1 year ago

kenjiWuJian commented 1 year ago

./linuxdeployqt-continuous-x86_64.AppImage "myBinary"

Below is the error: linuxdeployqt (commit 6fcaf74), build 55 built on 2023-09-23 13:33:41 UTC FHS-like mode with PREFIX, fhsPrefix: "/../.." QDir::exists: Empty or null file name ERROR: Error: Could not find app-binary ""

I am sure my application can run and the path is correct, the "myBinary" is the full path of my binary, including the binary name. Is there any folder structure requirement to use your tools?

fangtou commented 1 year ago

I've tried add some options(such as -appimage), this issue was not reappear.

gustavo-silva-serra commented 1 year ago

You 'must' add any option for it to work. I used -qmake, for example.

yongxiangzheng commented 1 week ago

I also have a general issue, which is caused by a desktop configuration error. Please use the -verbose = 3 option to print the specific error, which will indicate the detailed error.