[Qt-creator] Perforce in Qt Creator?

Eike Ziller eike.ziller at nokia.com
Mon Jun 8 09:50:03 CEST 2009


Hi,

On Jun 6, 2009, at 12:42 AM, ext Kendall Bennett wrote:

> Hi Guys,
>
> I am new to Qt Creator and so far I am really liking what I see.  
> However I am doing all my development on a Mac, and noticed today  
> that the version control menus are simply not there in the Mac  
> version? I have set up the config for Perforce, but when I go to the  
> Tools menu, Form Editor is the last menu item that shows up?
>
> I fired it up under Windows using VMware and discovered that in  
> Windows, there is a Perforce menu that is not showing on the Mac  
> version.
>
> Am I missing something? What do I need to do in order to get the  
> Perforce support to work on the Mac?

As long as your p4 executable is in the PATH, everything should work  
automagically. But:
Note that adding PATH values to e.g. ~/.bashrc does *not* add the PATH  
to applications started with the "open" command, or started by double- 
clicking in Finder/Dock/etc.

a) ~/.MacOSX/environment.plist is a property list file that defines  
the environment for these applications
(<http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/EnvironmentVars.html#//apple_ref/doc/uid/20002093-113982 
 >)

b) explicitly give QtCreator the complete path to the p4 executable in  
Preferences->Version Control->Perforce

Hopefully this fixes your problems :)

Best regards, Eike

-- 
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