No, we mean the .pro file. qmake's file format supports a lot of logic there, including platform detection (scopes like win32, unix, and macx). Never edit the .pro.user file and avoid using Creator's built-in tools for changing the build settings -- do all the work directly in the .pro file except for things that are SPECIFICALLY relevant to only the checkout you're working on.
/s/ Adam On Sun, Apr 18, 2010 at 7:32 PM, nobodyhere <pem.accounts.s...@gmail.com> wrote: > You mean edit and (svn commit) the project's ".pro.user" file? (Not the > project's ".pro" file?) > > And the .pro file has hardcoded / absolute paths in it, so how does this let > me do a simple (svn checkout and build that just works, with the exact same > .pro.user file) for (multiple computers) and (multiple checkouts on the same > computer)? > > Is it required to manually edit the .pro.user XML file's text? > > thank you for any leads > > ----- Original Message ----- > From: "Danny Price" <deepblue...@googlemail.com> > To: qt-creator@trolltech.com > Sent: Sunday, April 18, 2010 9:21:30 AM GMT -06:00 US/Canada Central > Subject: Re: [Qt-creator] build settings for cross platform? multiple svn > checkouts on each development computer > > Set you build settings, project directories and platform-specific configs in > the .pro file. > > On 18 Apr 2010, at 09:26, nobodyhere wrote: > >> Is there information on how to (svn commit) cross platform (Windows, Mac, >> Linux) build settings for a Qt Creator project, that doesn't have any >> absolute paths? >> >> I created a new project on Windows, then (svn commit) it. Then I did (svn >> checkout) of the project on Mac OS. Unfortunately, I had to create a new >> set of build settings to get it to build / compile? But it seems to be >> storing this build settings stuff in the [project].pro.user file, with >> absolute paths? >> >> How can I fix it so that I can simplify for anyone to do multiple fresh (svn >> checkout)'s of the project on each machine (regardless of OS), and have the >> build / compile just work (for Windows, Mac, Linux builds) (with multiple >> checkouts per machine, using relative paths)? >> >> Why are there absolute paths in this [project].user.pro file (for example, >> the buildDirectory has an absolute path)? >> >> thank you for any leads >> _______________________________________________ >> Qt-creator mailing list >> Qt-creator@trolltech.com >> http://lists.trolltech.com/mailman/listinfo/qt-creator > > > _______________________________________________ > Qt-creator mailing list > Qt-creator@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt-creator > _______________________________________________ > Qt-creator mailing list > Qt-creator@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt-creator > _______________________________________________ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator