On Thu, Sep 17, 2009 at 12:11 PM, Friedemann Kleint <
[email protected]> wrote:

> Hi Harshath,
>
> > When we add a new class to a project with Qt Creator, it creates the .h
> > file and the .cpp file in the same directory.
> >
> > But depending upon how I organize my project, I like to have control over
> > where all the header files are (a separate include/ directory, e.g.).
> >
> > So, the add class dialog box has a line edit called "Path". Instead, if
> > there were two input boxes; "Header Path" and "CPP path", that would be
> so
> > cool :D
>
> You can actually type
> 'path/file.h'
> in the 'Header file'/'Source file' input fields (and then choose a common
> denominator in the 'path' field).
>
> Regards,
> Friedemann
> --
> Friedemann Kleint
> Nokia, Qt Development Frameworks
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>


Yes, but in some cases (e.g., my case) the common denominator is the root of
the project.
Headers live in include/ and cpp in src/

So there! :D

-- 
Harshath
+91-9559-2261-86
http://github.com/jrharshath
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to