Hi, darpan

I think I know what's going on. In your project there are two versions of form1.h.

One is in dir .ui, the other in the main directory. The one in the .ui directory do not have the line:
#include <qtable.h>

but file form1.h in main directory, include's qtable.h.

Maybe the way you are compiling your projet is using the one without the <qtable.h> include. I can't check this because i'm ussing Qt 3.3.4, and this version generates files with qtable.h included automatically.

But if I modify all source files that include qtable.h and run make without running qmake, I get an error similar to the one you get:

g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -g -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -g -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I. -I/usr/include -I/usr/lib/qt3/include -o form1.o form1.cpp
form1.cpp: In constructor `Form1::Form1(QWidget*, const char*, bool, unsigned int)':
form1.cpp:33: error: invalid use of undefined type `struct QTable'
form1.h:21: error: forward declaration of `struct QTable'
form1.cpp:34: error: `setGeometry' undeclared (first use this function)
form1.cpp:34: error: (Each undeclared identifier is reported only once for each function it appears in.)
form1.cpp:35: error: `setNumRows' undeclared (first use this function)
form1.cpp:36: error: `setNumCols' undeclared (first use this function)
make: *** [form1.o] Error 1

I hope this can be of some help.