[Kwintv] compiling problems

Adrian Dannberg adrian.dannberg at gmx.net
Tue Nov 11 19:35:09 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, 

I'm trying to compile QtVision from CVS, using qt 3.2.2 and gcc 3.2, but the 
following errors apear.

/usr/lib/qt3/bin/moc chwizard.h -o chwizard.moc
rm -f chwizard.cpp
echo '#include <klocale.h>' > chwizard.cpp
/usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload -tr 
tr2i18n -i chwizard.h ./chwizard.ui > chwizard.cpp.temp ; ret=$?; \
/usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" chwizard.cpp.temp | /
usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl 
- -pe "s,image([0-9][0-9]*)_data,img\$1_chwizard,g" >> chwizard.cpp ;\
rm -f chwizard.cpp.temp ;\
if test "$ret" = 0; then echo '#include "chwizard.moc"' >> chwizard.cpp; else 
rm -f chwizard.cpp ; exit $ret ; fi
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
- -I. -I. -I../.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/
include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor 
- -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi 
- -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts 
- -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions 
- -fno-check-new -fno-common  -MT chwizard.lo -MD -MP -MF ".deps/chwizard.Tpo" 
\
  -c -o chwizard.lo `test -f 'chwizard.cpp' || echo './'`chwizard.cpp; \
then mv ".deps/chwizard.Tpo" ".deps/chwizard.Plo"; \
else rm -f ".deps/chwizard.Tpo"; exit 1; \
fi
chwizard.cpp: In constructor `ChWizard::ChWizard(QWidget*, const char*, bool,
   unsigned int)':
chwizard.cpp:15817: invalid use of undefined type `struct KLed'
chwizard.h:25: forward declaration of `struct KLed'
chwizard.cpp:15818: invalid use of undefined type `struct KLed'
chwizard.h:25: forward declaration of `struct KLed'
chwizard.cpp:15819: incomplete type `KLed' does not have member `On'
chwizard.cpp:15821: no matching function for call to `QGridLayout::addWidget(
   KLed*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: candidates are: void
   QGridLayout::addWidget(QWidget*, int, int, int = 0)
chwizard.cpp:15823: invalid use of undefined type `struct KLed'
chwizard.h:25: forward declaration of `struct KLed'
chwizard.cpp:15824: invalid use of undefined type `struct KLed'
chwizard.h:25: forward declaration of `struct KLed'
chwizard.cpp:15826: no matching function for call to `QGridLayout::addWidget(
   KLed*&, int, int)'
...
/usr/lib/qt3/include/qlayout.h:331: candidates are: void
   QGridLayout::addWidget(QWidget*, int, int, int = 0)
chwizard.cpp:15938: invalid use of undefined type `struct KDoubleNumInput'
chwizard.h:28: forward declaration of `struct KDoubleNumInput'
chwizard.cpp:15939: invalid use of undefined type `struct KDoubleNumInput'
chwizard.h:28: forward declaration of `struct KDoubleNumInput'
chwizard.cpp:15940: invalid use of undefined type `struct KDoubleNumInput'
chwizard.h:28: forward declaration of `struct KDoubleNumInput'
chwizard.cpp:15941: invalid use of undefined type `struct KDoubleNumInput'
chwizard.h:28: forward declaration of `struct KDoubleNumInput'
chwizard.cpp:15943: no matching function for call to `QGridLayout::addWidget(
   KDoubleNumInput*&, int, int)'
...
/usr/lib/qt3/include/qlayout.h:331: candidates are: void
   QGridLayout::addWidget(QWidget*, int, int, int = 0)
chwizard.cpp: In member function `virtual void ChWizard::languageChange()':
chwizard.cpp:16205: invalid use of undefined type `struct KDoubleNumInput'
chwizard.h:28: forward declaration of `struct KDoubleNumInput'
chwizard.cpp:16207: invalid use of undefined type `struct KDoubleNumInput'
chwizard.h:28: forward declaration of `struct KDoubleNumInput'
chwizard.cpp:16208: invalid use of undefined type `struct KDoubleNumInput'
chwizard.h:28: forward declaration of `struct KDoubleNumInput'
make[2]: *** [chwizard.lo] Fehler 1


I hope this is any good for you.

Adrian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/sSvdFyp8AaAsy0wRAlu5AKCfXJ35458V+Ic1mz1Zg36r3jLhcACeNxTy
zPlWqeV7s2MlFzLEbU7+WKM=
=X1zq
-----END PGP SIGNATURE-----



More information about the kwintv mailing list