Setting environment variables at Qt Creator by sourcing a shell script -
i trying configure "run settings" on qt creator 3.0.1.
i set value of many environment variables sourcing shell script 'myscript'. however, deployment's custom process step apparently doesn't accept 'source' command.
if execute script instead of sourcing it, sets environment variables of shell process in executed, not same qt creator runs executable.
is possible use 'myscript' configure environment variables ? how should call it?
ofcorse, can run qt via scrypt. simply. script below. ofcorse need environment variables in concret file. in case file environment-setup
#!/bin/bash echo "ustawienie zmiennej /usr/local/angstrom/arm/environment-setup" # set concret variables important . / . /usr/local/angstrom/arm/environment-setup echo "uruchomienie qtcreator" # lunched qtcreator $home/qt/tools/qtcreator/bin/qtcreator
you can set script linked main icon qt in start menu. after this, need run qt click in shortcut in menu
Comments
Post a Comment