[PyKDE] qscintilla fix
gvermeul at grenoble.cnrs.fr
gvermeul at grenoble.cnrs.fr
Sat Mar 1 09:59:01 GMT 2003
Phil,
Compiling qscintilla-*-20030227 with Qt-3.0.5 gives the following error:
packer:~/BLFS/bld/qscintilla-1.51-x11-gpl-snapshot-20030227/qt$ make
g++ -c -pipe -w -O2 -D_REENTRANT -fPIC -DQEXTSCINTILLA_MAKE_DLL -DQT
-DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../include -I../src
-I/usr/lib/qt3/include -I/usr/lib/qt3/mkspecs/default -o SciListBox.o SciListBox.cxx
SciListBox.cxx: In method `int ListBoxX::GetSelection()':
SciListBox.cxx:180: no matching function for call to `SciListBox::selectedItem ()'
make: *** [SciListBox.o] Error 1
packer:~/BLFS/bld/qscintilla-1.51-x11-gpl-snapshot-20030227/qt$
Grepping for selectedItem gives:
packer:~/BLFS/bin$ grep selectedItem /usr/lib/qt3/include/*.h
/usr/lib/qt3/include/qlistview.h: QListViewItem * selectedItem() const;
packer:~/BLFS/bin$
And looking for the base classes of QListBox, gives:
packer:~/BLFS/bin$ grep -3 'QListBox :' /usr/lib/qt3/include/qlistbox.h
class QStringList;
class Q_EXPORT QListBox : public QScrollView
{
friend class QListBoxItem;
friend class QListBoxPrivate;
packer:~/BLFS/bin$
Attached patch fixes the compiler error (I hope it does what you mean)
Gerard
-------------------------------------------------------------
This message was sent using HTTPS service from CNRS Grenoble.
---> https://grenoble.cnrs.fr <---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qscintilla-1.51-x11-gpl-snapshot-20030227.patch
Type: application/octet-stream
Size: 343 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030301/a697d668/qscintilla-1.51-x11-gpl-snapshot-20030227.obj
More information about the PyQt
mailing list