this question has been asked before solutions assume acquainted os x, unfortunately  i'm not, please bear me. use qmake terminal command. yosemite, i'm not able find easy way it. solution suggested here can't figure out how use it. solution follows 
in previous releases of os x (mavericks, mountain lion, lion, ...), environment variables configured in /etc/launchd.conf file. of os x yosemite, no longer working. configure environment variables, can following
$ nano ~/library/launchagents/my.startup.plist
my.startup.plist<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict> <key>label</key> <string>my.startup</string> <key>programarguments</key> <array> <string>sh</string> <string>-c</string> <string>launchctl setenv $variable_name $variable_value</string> </array> <key>runatload</key> <true/> </dict> </plist>
in case, path qmake /users/xxxx/qt/5.4/clang_64/bin, should qmake recognized in terminal command?
terminal sessions use shell. should modify shell environment variables, there no need reconfigure gui programs.
also, don't suppose .plist offers way extend preexisting variable.
you use ~/.profile:
export path=$path:~xxxx/qt/5.4/clang_64/bin   if qt offers more canonical method of installation, preferable, though.
if literally want command qmake work, without installing anything, do
sudo ln -s ~/qt/5.4/clang_64/bin/qmake /usr/local/bin      
Comments
Post a Comment