This forum has been archived. All content is frozen. Please use KDE Discuss instead.

i got make errs

Tags: None
(comma "," separated)
ghost9090
Registered Member
Posts
2
Karma
0

i got make errs

Wed Aug 02, 2006 2:08 am
i am a rookie :(

configure finished with no Error
but when i start make,it stopped with some errors

infowidgetbase.cpp: In constructor `InfoWidgetBase::InfoWidgetBase(QWidget*, con st char*, uint)':
infowidgetbase.cpp:40: error: invalid use of undefined type `struct KTabWidget'
infowidgetbase.h:30: error: forward declaration of `struct KTabWidget'
infowidgetbase.cpp:41: error: invalid use of undefined type `struct KTabWidget'
infowidgetbase.h:30: error: forward declaration of `struct KTabWidget'
infowidgetbase.cpp:41: error: invalid use of undefined type `struct KTabWidget'
infowidgetbase.h:30: error: forward declaration of `struct KTabWidget'
infowidgetbase.cpp:42: error: invalid use of undefined type `struct KTabWidget'
infowidgetbase.h:30: error: forward declaration of `struct KTabWidget'
infowidgetbase.cpp:44: error: no matching function for call to `QWidget::QWidget (KTabWidget*&, const char[13])'
/usr/lib/qt-3.3/include/qwidget.h:718: note: candidates are: QWidget::QWidget(co nst QWidget&)
/usr/lib/qt-3.3/include/qwidget.h:139: note: QWidget::QWidget(QW idget*, const char*, uint)
infowidgetbase.cpp:213: error: no matching function for call to `QWidget::QWidge t(KTabWidget*&, const char[12])'
/usr/lib/qt-3.3/include/qwidget.h:718: note: candidates are: QWidget::QWidget(co nst QWidget&)
/usr/lib/qt-3.3/include/qwidget.h:139: note: QWidget::QWidget(QW idget*, const char*, uint)
infowidgetbase.cpp:224: error: no matching function for call to `QHBoxLayout::ad dWidget(KTabWidget*&)'
/usr/lib/qt-3.3/include/qlayout.h:386: note: candidates are: void QBoxLayout::ad dWidget(QWidget*, int, int)

what should i do.......help

my system is redhat9.0
Qt: 3.3.3
KDE: 3.3.1-3.2 Red Hat
KDevelop: 3.1.1
George
Moderator
Posts
5421
Karma
1

Wed Aug 02, 2006 5:17 pm
Can you post the infowidgetbase.cpp file ? (It should be in plugins/infowidget/)

This file gets generated, and for some reason the ktabwidget.h header doesn't get included. In infowidgetbase.cpp there should be a line like this at the top of the file :

#include <ktabwidget.h>
ghost9090
Registered Member
Posts
2
Karma
0

Thu Aug 03, 2006 10:26 am
thanks very much
i added that to the top of the file then everythine was done
now i must say:it's perfect


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]