[Qt-creator] build settings for cross platform? multiple svn checkouts on each development computer
nobodyhere
pem.accounts.spam at gmail.com
Mon Apr 19 04:35:46 CEST 2010
This makes Qt Creator sound broken? I mean, what's the point of having it generate your make files for you (in the .pro.user file), if you have to then rewrite them manually anyway (in the .pro file)?
regards
----- Original Message -----
From: "Coda Highland" <coda at bobandgeorge.com>
To: qt-creator at trolltech.com
Sent: Sunday, April 18, 2010 8:45:29 PM GMT -06:00 US/Canada Central
Subject: Re: [Qt-creator] build settings for cross platform? multiple svn checkouts on each development computer
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.spam at 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" <deepblue842 at googlemail.com>
> To: qt-creator at 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 at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
_______________________________________________
Qt-creator mailing list
Qt-creator at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator
More information about the Qt-creator-old
mailing list