[Qt-creator] .pri files?
Danny Price
deepblue842 at googlemail.com
Tue Oct 6 13:53:59 CEST 2009
Cool just be aware that the 1.2.91 branch of Creator adds automatic filters
for .h and .cpp files so don't go and start adding .pri groups for source
and header files (like I did!). The latest builds also add folders for files
below or outside the current directory. But .pri files are the closest you
can get to 'logical groups' like those in MSVC or XCode.
On Tue, Oct 6, 2009 at 12:44 PM, Robert Caldecott <
robert.caldecott at gmail.com> wrote:
> Got it. Thanks very much Danny. Worth updating my blog with this I think.
>
> 2009/10/6 Danny Price <deepblue842 at googlemail.com>:
> > Create a new project. In the project's directory, Create a text file
> called
> > 'Test.pri'. Back in Creator, add the line 'include(Test.pr)' (no quotes)
> to
> > the project's .pro file and save. Creator will add a folder of that name
> > with the .pri inside. Now right click on the folder in the tree and you
> can
> > add files to this .pri (and hence the folder).
> >
> > On Tue, Oct 6, 2009 at 12:24 PM, Robert Caldecott
> > <robert.caldecott at gmail.com> wrote:
> >>
> >> Sounds worth knowing about - do you have a simple example? :)
> >>
> >> 2009/10/6 Danny Price <deepblue842 at googlemail.com>:
> >> > I pri file is like a .h file which can be included in the .pro. This
> >> > allows
> >> > you to create sub-directories of files which Creator will display
> >> > hierachically.
> >> _______________________________________________
> >> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20091006/3a4b784f/attachment.html
More information about the Qt-creator-old
mailing list