[Qt-creator] Linked projects/workspace/'solutions'
Robert Caldecott
robert.caldecott at gmail.com
Tue Jul 21 12:54:24 CEST 2009
OK, I feel the need to post again about the lack of 'workspace'
support. The current concept of user-specific 'sessions' makes it
very difficult for a team to work on the same project. It would also
appear that some vital information about projects is stored in the
session file including dependencies and custom build steps. This
means if other team members want to checkout a project they need to
add this information again by hand. This, in my humble opinion, is a
mistake - it's counter-productive and I urge the Qt Creator team to
re-think this approach.
I have also experimented with the 'subdirs' TEMPLATE. Now, this is
pretty good but has some problems. For example, if you open one of
these templates, you get a nice project tree but you can't right-click
on an individual project and run/build it. You have the build the
entire 'tree' so it would be good for when people want to simply
checkout and build a 'solution' but not if they want to work on the
components. Plus dependencies and custom build steps would still be
an issue.
Am I alone in thinking that support for multiple-projects needs some
work or am I missing something here? Nearly all of my projects
require at least three separate 'sub projects' - the main app, a
static lib containing core code and a unit tests app. The current
session scheme is fine for individual projects but if this project is
to make in-roads in the commercial sector then I think some
improvements are required.
I posted this because I have wasted a lot of time this morning setting
up another member of my team to work on a project. Don't get me wrong
- I think Qt Creator is a superb tool and I do my best to 'sell' it to
anyone who will listen, but the project management side of things is a
little lacking. Ack, I hate posting criticism. :(
Regards.
http://qtcreator.blogspot.com/
2009/7/8 Andre Poenitz <andre.poenitz at mathematik.tu-chemnitz.de>:
> On Wed, Jul 08, 2009 at 08:47:43PM +0100, Robert Caldecott wrote:
>> Nearly all the projects I create using Qt Creator have a separate unit
>> test project - how can I link projects so that when I open the main
>> project, the unit test one is also opened? The same question would
>> apply to projects that use library projects, etc. I'm thinking of
>> something similar to the Visual Studio 'solution' idea. It wouldn't
>> have to be anything too complicated.
>>
>> Is this possible? If not, it is planned? Can I hack my .pro files by
>> hand in the meantime?
>
> You can (and should...) use 'Sessions' to handle projects (and some
> other information) that logically belong together.
>
> A 'TEMPLATE = subdirs' .pro might be an option, too.
>
> Andre'
> _______________________________________________
> 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