[Uml-devel] Cant compile u1 --- problem with diagram/classwidget.cpp

Jonathan Riddell jr at jriddell.org
Fri Apr 4 11:10:03 UTC 2003


On Fri, 4 Apr 2003, Brian Thomas wrote:

> 	I cant compile u1, apparently the "invalidate()" method is missing.
>
> classwidget.cpp: In member function `virtual void
>    Umbrello::ClassWidget::umlObjectModified()':
> classwidget.cpp:73: `invalidate' undeclared (first use this function)
> classwidget.cpp:73: (Each undeclared identifier is reported only once for each
>    function it appears in.)

It compiles for me, Qt 3.1, Gcc 2.95.

invalidate() is in QCanvasPolygonalItem

try adding #include <qcanvas.h> and see if that makes it happy.
Otherwise, what version of Qt are you running?

Jonathan Riddell






More information about the umbrello-devel mailing list