diff --git a/cmake/linux/package_linux.sh.in b/cmake/linux/package_linux.sh.in index 8553be65ffc..7f500e6135e 100644 --- a/cmake/linux/package_linux.sh.in +++ b/cmake/linux/package_linux.sh.in @@ -54,7 +54,7 @@ fi echo -e "\nWriting verbose output to \"${LOGFILE}\"" # Ensure linuxdeployqt uses the same qmake version as cmake -export PATH="$(dirname "@QT_QMAKE_EXECUTABLE@")":$PATH +export PATH="$HOME/bin:$(dirname "@QT_QMAKE_EXECUTABLE@")":$PATH # Fetch portable linuxdeployqt if cache is older than $DAYSOLD echo -e "\nDownloading linuxdeployqt to ${LINUXDEPLOYQT}..."