|
|
Larry Martell wrote:
> In the original dir, mainform.h is a link to .ui/mainform.h. When I
> copied everything to a new dir, mainform.h became a regular file, and
> was no longer linked to .ui/mainform.h. Both main.cpp and
> mainform.ui.h include mainform.h (not .ui/mainform.h). When the
> project is built .ui/mainform.h gets generated by uic, but the
> mainform.h in the top level dir is not. When I deleted mainform.h and
> recreated it as a link to .ui/mainform.h the crash went away. I've
> never had an issue like this before, and now I'm wondering how it's
> supposed to be. Should I be including mainform.h or .ui/mainform.h?
As a rule of thumb avoid linking or copying and use the 'original' file
if possible.
> Should these be linked? Should there be a mainform.h in both the top
> level dir and in .ui?
It's not needed. Place them anywhere you like (or where it is put by
default) and add -I.ui to your compiler options.
Andre'
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|