[Kwintv] Compile error latest CVS

Chris Hammond kwintv@mail.kde.org
06 Jan 2003 21:52:47 -0500


It's a fresh download of the code it is not an update.  Everytime I
build, I always download fresh code.  What is uic.  I will look at that
angle but I am not familiar with it.

Chris

On Mon, 2003-01-06 at 13:31, George Staikos wrote:
> I think you have old files, or your uic is not including the files that it 
> should be including.  I don't see this problem.
> 
> 
> On January 5, 2003 00:21, Chris Hammond wrote:
> > I am getting the error below trying to install the latest cvs on Red Hat
> > 8.1 beta with KDE 3.1 rc5 (I think) and QT 3.1.1.  Any ideas what may be
> > causing it?
> >
> > if test "$ret" = 0; then echo '#include "pluginwidget.moc"' >>
> > pluginwidget.cpp; else rm -f pluginwidget.cpp ; exit $ret ; fi
> > source='pluginwidget.cpp' object='pluginwidget.lo' libtool=yes \
> > depfile='.deps/pluginwidget.Plo' tmpdepfile='.deps/pluginwidget.TPlo' \
> > depmode=gcc3 /bin/sh ../../admin/depcomp \
> > /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++
> > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde
> > -I/usr/lib/qt-3.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT
> > -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic
> > -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
> > -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -fno-builtin
> > -g -O2 -fno-exceptions -fno-check-new -fno-common  -c -o pluginwidget.lo
> > `test -f 'pluginwidget.cpp' || echo './'`pluginwidget.cpp
> > pluginwidget.cpp: In constructor `PluginWidget::PluginWidget(QWidget*,
> > const
> >    char*, unsigned int)':
> > pluginwidget.cpp:38: invalid use of undefined type `struct KPushButton'
> > pluginwidget.h:20: forward declaration of `struct KPushButton'
> > pluginwidget.cpp:39: invalid use of undefined type `struct KPushButton'
> > pluginwidget.h:20: forward declaration of `struct KPushButton'
> > pluginwidget.cpp:40: invalid use of undefined type `struct KPushButton'
> > pluginwidget.h:20: forward declaration of `struct KPushButton'
> > pluginwidget.cpp:41: no matching function for call to
> > `QHBoxLayout::addWidget(
> >    KPushButton*&)'
> > /usr/lib/qt-3.1/include/qlayout.h:379: candidates are: void
> >    QBoxLayout::addWidget(QWidget*, int = 0, int = 0)
> > pluginwidget.cpp:50: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:51: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:52: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:53: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:55: no matching function for call to
> > `QGridLayout::addWidget(
> >    KListView*&, int, int)'
> > /usr/lib/qt-3.1/include/qlayout.h:324: candidates are: void
> >    QGridLayout::addWidget(QWidget*, int, int, int = 0)
> > pluginwidget.cpp:68: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:69: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:70: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:71: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:73: no matching function for call to
> > `QGridLayout::addWidget(
> >    KListView*&, int, int)'
> > /usr/lib/qt-3.1/include/qlayout.h:324: candidates are: void
> >    QGridLayout::addWidget(QWidget*, int, int, int = 0)
> > pluginwidget.cpp:86: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:87: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:88: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:89: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:91: no matching function for call to
> > `QGridLayout::addWidget(
> >    KListView*&, int, int)'
> > /usr/lib/qt-3.1/include/qlayout.h:324: candidates are: void
> >    QGridLayout::addWidget(QWidget*, int, int, int = 0)
> > pluginwidget.cpp:111: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:112: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:113: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:114: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:116: no matching function for call to
> > `QGridLayout::addWidget(
> >    KListView*&, int, int)'
> > /usr/lib/qt-3.1/include/qlayout.h:324: candidates are: void
> >    QGridLayout::addWidget(QWidget*, int, int, int = 0)
> > pluginwidget.cpp: In member function `virtual void
> >    PluginWidget::languageChange()':
> > pluginwidget.cpp:139: invalid use of undefined type `struct KPushButton'
> > pluginwidget.h:20: forward declaration of `struct KPushButton'
> > pluginwidget.cpp:140: no matching function for call to `QToolTip::add(
> >    KPushButton*&, QString)'
> > /usr/lib/qt-3.1/include/qtooltip.h:90: candidates are: static void
> >    QToolTip::add(QWidget*, const QString&)
> > /usr/lib/qt-3.1/include/qtooltip.h:92:                 static void
> >    QToolTip::add(QWidget*, const QString&, QToolTipGroup*, const
> > QString&)
> > /usr/lib/qt-3.1/include/qtooltip.h:95:                 static void
> >    QToolTip::add(QWidget*, const QRect&, const QString&)
> > /usr/lib/qt-3.1/include/qtooltip.h:97:                 static void
> >    QToolTip::add(QWidget*, const QRect&, const QString&, QToolTipGroup*,
> > const
> >    QString&)
> > pluginwidget.cpp:141: no matching function for call to `QWhatsThis::add(
> >    KPushButton*&, QString)'
> > /usr/lib/qt-3.1/include/qwhatsthis.h:63: candidates are: static void
> >    QWhatsThis::add(QWidget*, const QString&)
> > pluginwidget.cpp:142: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:143: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:144: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:147: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:148: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:149: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:152: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:153: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:154: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:158: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:159: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > pluginwidget.cpp:160: invalid use of undefined type `struct KListView'
> > pluginwidget.h:19: forward declaration of `struct KListView'
> > make[2]: *** [pluginwidget.lo] Error 1
> > make[2]: Leaving directory
> > `/root/cvs/qtvision/kdenonbeta/kwintv3/qtvision'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/root/cvs/qtvision/kdenonbeta/kwintv3/qtvision'
> > make: *** [all-recursive] Error 1
> > [root@RedHatWS cvs]#
-- 
Chris Hammond <chammond@cox.net>