[Kwintv] compiling problems

Adrian Dannberg adrian.dannberg at gmx.net
Sun Nov 16 15:48:20 CET 2003


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

Am Mittwoch, 12. November 2003 21:08 schrieb Dirk Ziegelmeier:
> On Tuesday 11 November 2003 19:35, Adrian Dannberg wrote:
> > Hi,
> >
> > I'm trying to compile QtVision from CVS, using qt 3.2.2 and gcc 3.2, but
> > the following errors apear.
>
> [...]
>
> Do you have problems compiling other KDE software?
It seems so. Just tried to compile k3b 0.10.2 andf it fails with 

base_k3badvanceddataimagesettings.cpp: In constructor
   `base_K3bAdvancedDataImageSettings::base_K3bAdvancedDataImageSettings(QWidget*,
   const char*, unsigned int)':
base_k3badvanceddataimagesettings.cpp:40: invalid use of undefined type 
`struct
   KListView'
base_k3badvanceddataimagesettings.cpp:45: no matching function for call to `
   QVBoxLayout::addWidget(KListView*&)'
/usr/lib/qt3/include/qlayout.h:386: candidates are: void
   QBoxLayout::addWidget(QWidget*, int = 0, int = 0)

looks quite familiar :)

> Can you look at chwizard.cpp for the include, please? If it is not there, I
> have no idea what you have to fix. I hope someone with more Qt experience
> can help you with that.

#include <kled.h> was missing in chwizard.cpp. Adding it fixed the 'struct 
KLed' error, but I still get the following:

/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:15943: no matching function for call to
QGridLayout::addWidget( KDoubleNumInput*&, int, int)'

I might add that I compiled qt myself, though not for the frist time, with 
- -prefix /usr/lib/qt3 and -thread. Am I missing something here?


Thx for help. 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/t444Fyp8AaAsy0wRAsBuAKDFVrp/0Hh9h6dUEhzD7lMAzcdHYACeMABA
JrXqNKAOnC6r2um7peb2H7A=
=DzsP
-----END PGP SIGNATURE-----



More information about the kwintv mailing list