KDE 3.2.1 Compilation Error

Christos Vasilakis cvasilak at freemail.gr
Sun Jun 1 18:38:37 BST 2003


hello there,
i am trying to compile kdelibs-3.2.1 under slackwate 9 with qt version 
3.2b1. However during compilation i get the following error:

---
kdialog.cpp: In static member function `static void
    KDialog::resizeLayout(QWidget*, int, int)':
kdialog.cpp:136: no matching function for call to `KDialog::resizeLayout(
    QLayout*, int&, int&)'
kdialog.cpp:133: candidates are: static void KDialog::resizeLayout(QWidget*,
    int, int)
kdialog.h:91:                 static void 
KDialog::resizeLayout(QLayoutItem*,
    int, int)
kdialog.cpp: In static member function `static void
    KDialog::resizeLayout(QLayoutItem*, int, int)':
kdialog.cpp:156: `QLayoutIterator' undeclared (first use this function)
kdialog.cpp:156: (Each undeclared identifier is reported only once for each
    function it appears in.)
kdialog.cpp:156: parse error before `=' token
kdialog.cpp:158: `it' undeclared (first use this function)
kdialog.cpp:163: invalid use of undefined type `struct QLayoutItem'
kdialog.h:24: forward declaration of `struct QLayoutItem'
kdialog.cpp:165: invalid use of undefined type `struct QLayoutItem'
kdialog.h:24: forward declaration of `struct QLayoutItem'
kdialog.cpp:166: invalid use of undefined type `struct QLayoutItem'
kdialog.h:24: forward declaration of `struct QLayoutItem'
/usr/lib/qt/include/qptrlist.h: In member function `void
    QPtrList<type>::deleteItem(void*) [with type = QLayoutItem]':
kdialog.cpp:37:   instantiated from here
/usr/lib/qt/include/qptrlist.h:150: invalid use of undefined type `struct
    QLayoutItem'
kdialog.h:24: forward declaration of `struct QLayoutItem'
make[3]: *** [kdialog.lo] Error 1
make[3]: Leaving directory `/home/cvasilak/kdelibs-3.1.2/kdeui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cvasilak/kdelibs-3.1.2/kdeui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cvasilak/kdelibs-3.1.2'
make: *** [all] Error 2
---

Any ideas of how can i overcome this problem?

Thanks in advance,
Christos


--
http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list