[Make][Linux] Add support for installing linuxdeployqt

This commit is contained in:
Kenn Sebesta 2021-12-22 21:19:38 -05:00
parent 9d08db49e5
commit 3fc1d61ed7
1 changed files with 22 additions and 0 deletions

View File

@ -100,6 +100,27 @@ else
endif
#################
# linuxdeployqt #
#################
.PHONY: qt_linuxdeployqt_install
ifdef LINUX
qt_linuxdeployqt_install: LINUXDEPLOYQT_URL := https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
qt_linuxdeployqt_install: LINUXDEPLOYQT_FILE := linuxdeployqt-continuous-x86_64.AppImage
qt_linuxdeployqt_install:
# download the source only if it's newer than what we already have
$(V1) wget --no-check-certificate -N -P "$(DL_DIR)" "$(LINUXDEPLOYQT_URL)"
# Set the file to executable
$(V1) chmod +x "$(DL_DIR)/$(LINUXDEPLOYQT_FILE)"
# Move the file
$(V1) mv "$(DL_DIR)/$(LINUXDEPLOYQT_FILE)" "$(TOOLS_DIR)/Qt"
endif
##############
# Qt Creator #
##############
@ -151,6 +172,7 @@ else
endif
###############
# Google Test #
###############