[Qt-creator] Evaluation on Mac OSX (Eike Ziller) Successful work around found

Eike Ziller eike.ziller at nokia.com
Tue Jan 6 11:07:18 CET 2009


Hi Michael,

I *can* change the PATH used for applications with an ~/.MacOS/ 
environment.plist file of the form

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd 
">
<plist version="1.0">
<dict>
         <key>PATH</key>
         <string>/opt/local/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/ 
usr/sbin:/usr/X11R6/bin</string>
</dict>
</plist>

The entry above for the PATH should be more or less the default path.  
I also haven't found a way to just add components to the existing/ 
default PATH.

*Note that you have to logout and login to make changes to the  
environment.plist file effective.*

Currently I suspect that you have entries in your environment.plist  
file that change the path and make problems. Could you try to  
temporarily move that file away, e.g
1) cd ~
2) mv .MacOS .MacOS_tmp
3) logout
4) login
5) start QtCreator

Thanks,

++ Eike

On Jan 5, 2009, at 7:28 PM, ext G3WOE wrote:

> Hi Eike
>
> If I run this script
>
> ignoring application responses
>        tell application "Terminal"
>                activate
>                do script with command ¬
>                        "PATH=$PATH:/usr/local/qt4.4;/Developer/ 
> Applications/Qt/
> QtCreator.app/Contents/MacOS/QtCreator;"
>        end tell
> end ignoring
>
> Then the System Qt is found OK !! progress, but still no qmake build.
>
> Then if I add /usr/bin to the path like this the project will build!!.
>
> ignoring application responses
>        tell application "Terminal"
>                activate
>                do script with command ¬
>                        "PATH=$PATH:/usr/local/qt4.4:/usr/bin;/ 
> Developer/Applications/Qt/
> QtCreator.app/Contents/MacOS/QtCreator;"
>        end tell
> end ignoring
>
> So to integrate with OSX10.5 Creator may need some more work done to
> manage the environment settings so it can be launched like other apps.
>
> Comments appreciated.
>
> Michael White
> G3WOE
> 18 Kings Road
> Feltham
> Greater London
> TW13 5AU
> U.K.
> T: +44(0)208 707 5980
> M:+44(0)7966 284 120
> michael at g3woe.com
>
>
>
>
>
> On 5 Jan 2009, at 12:42, qt-creator-request at trolltech.com wrote:
>
>> Re: Evaluation on Mac OSX (Eike Ziller)
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator

-- 
Eike Ziller
Software Engineer
Nokia, Qt Software
Phone  +49 (0)30 6392 3255
Fax    +49 (0)30 6392 3256
E-mail eike.ziller at nokia.com








More information about the Qt-creator-old mailing list