[Qt-interest] compile error
Colin S. Miller
no-spam-thank-you at csmiller.demon.co.uk
Tue Jul 20 21:09:00 CEST 2010
yanqzhi at gmail.com wrote:
> Dear all,
>
> I have a class BaseDlg which inherits QDialog, and a class MyDlg which
> inherits BaseDlg.
> When I compile the classes, the project generates a ui_MyDlg.h which
> includes <BaseDlg.h>,
> but there is a error "fatal error C1083: Cannot open include file:
> 'BaseDlg.h':"(vs 2008 + qt).
Yanqzhi,
#include <file.h>
is normally used on system header files.
Use
#inlcude "file.h"
for your own header files.
HTH,
Colin S. Miller
More information about the Qt-interest-old
mailing list