Hi,
I am trying to make a new project using QT 3.3.5 Designer. My requirement is to take
a table on a dialog. But when i take a table widget on a dialog and I do nothing with
table and compile the project it gives errors
Following are the errors at compile time:
c++ -c -pipe -Wall -W -Os -DQT_NO_DEBUG -DQT_SHARED -
DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -I/Developer/qt/mkspecs/
default -I. -I. -I/Developer/qt/include -o form1.o form1.cpp
form1.cpp: In constructor `Form1::Form1(QWidget*, const char*, bool, unsigned
int)':
form1.cpp:32: error: invalid use of undefined type `struct QTable'
form1.h:20: error: forward declaration of `struct QTable'
form1.cpp:33: error: `numCols' undeclared (first use this function)
form1.cpp:33: error: (Each undeclared identifier is reported only once for each
function it appears in.)
form1.cpp:33: error: `setNumCols' undeclared (first use this function)
form1.cpp:34: error: `horizontalHeader' undeclared (first use this function)
form1.cpp:37: error: `setGeometry' undeclared (first use this function)
form1.cpp:38: error: `setNumRows' undeclared (first use this function)
form1.cpp: In member function `virtual void Form1::languageChange()':
form1.cpp:60: error: `horizontalHeader' undeclared (first use this function)
make: *** [form1.o] Error 1
Same errors get when i make a new project on QT 3.3.6 and take a dailog containg a
table on it.
When i delete the table and compile the project it compiles error free.
Please help me by giving example of table. What should i have to do?
Thanks and Regards
Bookmarks