How can i call the bash script from .pro file?
-
wrote on 27 May 2020, 20:07 last edited by
I do have one script for creating installer for linux. i would like to call that script from .pro file.
Here I mention my profile.
TEMPLATE = lib TARGET = SquidStatInstaller QT += core QMAKE_POST_LINK += $$quote(bash ./../../_LinuxDeploy/linuxdeploy.sh $$[QT_INSTALL_BINS])
It is calling linuxdeploy.sh script if build directory is not present for project SquidStatInstaller. when I do rebuild the project then it is not calling to that script.
Is it anyway to call the script while doing rebuild or build or run qmake?
I know how can i call from custom build. I would like to set from .pro file because. I am calling different script for Mac and linux.
-
wrote on 28 May 2020, 00:08 last edited byThis post is deleted!
-
This post is deleted!
-
@Yash001
How about using$$clean_path($$PWD/./../../_LinuxDeploy/linuxdeploy.sh)
instead of the relative path?wrote on 28 May 2020, 18:21 last edited by@Bonnie
.pro file is identify the path but the issue is, whenever I do rebuild at that time it is not call to linuxdeploy.sh.I want to know if any variable is call the to script on build.
4/4