Qt-interest Archive, January 2008
.pro files, Xcode and absolute paths
Message 1 in thread
I've discovered that when I use qmake to create an Xcode project file
the resulting project.pbxproj contains absolute paths such as
/Users/robin/Projects/p4_workspace/etc/ etc. After opening the file in
Xcode, Xcode will heavily modify the file and add even more absolute
paths.
This is a problem when the source code is used by a different
developer or when it's branched into a different folder.
What is the correct practice for building portable project files that
contain relative paths?
Many thanks!
--
[ signature omitted ]
Message 2 in thread
On 17.01.08 15:38:16, Robin Charlton wrote:
> I've discovered that when I use qmake to create an Xcode project file
> the resulting project.pbxproj contains absolute paths such as
> /Users/robin/Projects/p4_workspace/etc/ etc. After opening the file in
> Xcode, Xcode will heavily modify the file and add even more absolute
> paths.
>
> This is a problem when the source code is used by a different
> developer or when it's branched into a different folder.
>
> What is the correct practice for building portable project files that
> contain relative paths?
Only share the .pro file. And let qmake (re-)generate the XCode files
when necessary.
Andreas
--
[ signature omitted ]