I am trying to go through the Quick Start tutorial for QT Designer, but I am receiving errors. I have gone through the entire Qucick Start section, up through running qmake, with no errors. The Makefile has been created. When I try to run make, however, I get the following errors:

:~/Projects/metric$ make
/usr/share/qt3/bin/uic conversionform.ui -o .ui/conversionform.h
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -I.ui/ -I. -I.moc/ -o .obj/main.o main.cpp
In file included from /usr/include/qt3/qobjectdefs.h:42,
                from /usr/include/qt3/qwindowdefs.h:43,
                from /usr/include/qt3/qwidget.h:42,
                from /usr/include/qt3/qdesktopwidget.h:40,
                from /usr/include/qt3/qapplication.h:42,
                from main.cpp:1:
/usr/include/qt3/qglobal.h:756:21: qconfig.h: No such file or directory
/usr/include/qt3/qglobal.h:766:22: qmodules.h: No such file or directory
In file included from main.cpp:2:
.ui/conversionform.h:27: error: base class `QDialog' has incomplete type
.ui/conversionform.h:31: error: type specifier omitted for parameter `WFlags'
.ui/conversionform.h:31: error: parse error before `=' token
.ui/conversionform.h:27: warning: `class ConversionForm' has virtual functions
  but non-virtual destructor
main.cpp: In function `int main(int, char**)':
main.cpp:8: error: `show' undeclared (first use this function)
main.cpp:8: error: (Each undeclared identifier is reported only once for each
  function it appears in.)
make: *** [.obj/main.o] Error 1
:~/Projects/metric$

Am I missing something? I can not find a file named qmodules.h, nor one named qconfig.h, anywhere on my system. I have tried uninstalling and reinstalling QT Designer, to no avail. I have looked for a package containing either of these files with dpkg -S, also with no luck.

Does anyone know what I am missing? What have I done wrong? Is this a bug that should be reported?

--
Marc Shapiro

No boom today. Boom tomorrow. There's always a boom tomorrow.
What?! Look, somebody's got to have some damn perspective around here.
Boom. Sooner or later ... boom!

- Susan Ivanova: B5 - Grail


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to