diff --git a/README.md b/README.md index c841d42..5df109d 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,14 @@ Using Qt version 5.7.0 in /tmp/.mount_QtCreator-5.7.0-x86_64/5.7/gcc_64/lib ``` If this does not show the correct path to your Qt instance that you want to be bundled, then adjust your `$PATH` to find the correct `qmake`. +Before running linuxdeployqt it may be wise to delete unneeded files that you do not wish to distribute from the build directory. These may be autogenerated during the build. You can delete them like so: + +``` +find $HOME/build-*-*_Qt_* \( -name "moc_*" -or -name "*.o" -or -name "qrc_*" -or -name "Makefile*" -or -name "*.a" \) -exec rm {} \; +``` + +Alternatively, you could use `$DESTIDIR`. + ``` Usage: linuxdeployqt app-binary [options]