[Qt-interest] gui qt project with a MainWindow ui and several QDockWidget ui.

Konrad Rosenbaum konrad at silmor.de
Sat Oct 31 21:19:10 CET 2009


On Saturday 31 October 2009, navid navid wrote:
> mydock1.h: error: forward declaration of `struct Ui_MyDock1'
> mydock1.cpp: error: invalid use of undefined type `struct Ui_MyDock1'
> ...

There is an include missing. Whatever file declares Ui_MyDock1 needs to be 
#included in the one that gives the error.

Next time: try to give us a minimal example that we can grind through our 
compilers or at the very least be more verbose. Your mails tend to be a bit 
cryptic.


	Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091031/f7b09a20/attachment.bin 


More information about the Qt-interest-old mailing list