<html>
<head>
</head>
<body>
Hi: <br>
I defined a class to do some. It's not dervied from any class. <br>
class x <br>
{ <br>
..... <br>
}; <br>
But with the time gone,I need signal_slot funtion.So I change my class define
like this <br>
class x:public QObject <br>
{ <br>
Q_OBJECT <br>
...... <br>
} <br>
<img src="chrome://editor/content/images/frown_n.gif" alt=":-(" class="moz-txt-smily" height="19" width="19" align="Center">
,But here have some error.When I build whole project, <br>
Error report said: <br>
x.o: In function 'x::~x(void)': <br>
.../x.cpp:18:undefined reference to 'x virtual table' <br>
BTW: I has add qobject.h header file in x.h and x.cpp. <br>
<br>
</body>
</html>