[Qt-creator] build settings for cross platform? multiple svn checkouts on each development computer
nobodyhere
pem.accounts.spam at gmail.com
Mon Apr 19 02:57:27 CEST 2010
Below is some info I found when I started googling for (qt creator .pro .pro.user), instead of just (qt creator build settings)
So definitely plenty of other people are running into this too...
...
>From http://qtcreator.blogspot.com/2009/10/project-not-linked-when-dependent.html#comments :
> I don't go anywhere near the Qt Creator Project settings. Why? Because all these settings are stored in a special .pro.user file that cannot be placed under version control because it contains hard-coded paths! I really dislike the 'session' system and want *all* build rules inside the .pro file instead. That way my team can check out a project and build the whole thing without first messing with Qt Creator's Project settings. This is a hot topic on the Qt Creator mailing list BTW - I am not alone in wishing for better subdirs and dependency support. :)
> 100% agreement on the pro.user file issue. The file, the session system, and the entire project window is utterly useless.
> Even if the paths were relative, dependencies should be stored in the project file not a user-specific store. That's for breakpoints etc.
> Unfortunately Nokia a absolutely determined to keep it.
...
----- Original Message -----
From: "nobodyhere" <pem.accounts.spam at gmail.com>
To: qt-creator at trolltech.com
Sent: Sunday, April 18, 2010 7:32:19 PM GMT -06:00 US/Canada Central
Subject: Re: [Qt-creator] build settings for cross platform? multiple svn checkouts on each development computer
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
More information about the Qt-creator-old
mailing list