You are not logged in.

1

Monday, April 26th 2004, 1:32pm

[Konqueror] Search Bar (CVS)

I'm not sure if this is the right place to post this, but I've got a problem compiling (CVS) kdeaddons->konq-plugins->searchbar.

I've compiled it before, everything went fine. I recently reformatted, and now I get an error message when I try to compile the searchbar plugin for konqueror.

Here is what I get:


Making all in icons
make[1]: Entering directory `/home/quaff/downloads/kdeaddons/konq-plugins/searchbar/icons'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/quaff/downloads/kdeaddons/konq-plugins/searchbar/icons'
make[1]: Entering directory `/home/quaff/downloads/kdeaddons/konq-plugins/searchbar'
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT searchbar.lo -MD -MP -MF ".deps/searchbar.Tpo" \
-c -o searchbar.lo `test -f 'searchbar.cpp' || echo './'`searchbar.cpp; \
then mv -f ".deps/searchbar.Tpo" ".deps/searchbar.Plo"; \
else rm -f ".deps/searchbar.Tpo"; exit 1; \
fi
searchbar.cpp: In member function `void SearchBarPlugin::startSearch(const
QString&)':
searchbar.cpp:100: error: no matching function for call to `KHTMLPart::findText
(const QString&, int)'
/opt/kde3/include/khtml_part.h:1446: error: candidates are: void
KHTMLPart::findText()
/opt/kde3/include/khtml_part.h:1447: error: `void KHTMLPart::findTextNext()' is
private
searchbar.cpp:101: error: within this context
make[1]: *** [searchbar.lo] Error 1
make[1]: Leaving directory `/home/quaff/downloads/kdeaddons/konq-plugins/searchbar'
make: *** [all-recursive] Error 1



I've tried installing different versions of KDE(3.1, 3.2, 3.2.1, 3.2.2), replacing khtml_part.h (with a different version), and even searchbar.cpp to compile this, but no success. I'm currently using SuSE 9.0, P3 1GHZ, kernel 2.4.21-202 and running KDE 3.2.2.

If anyone knows how to fix this, please help.
Thanks :D

This post has been edited 1 times, last edit by "quaff" (Apr 26th 2004, 1:33pm)


dfaure

Beginner

Posts: 16

Location: France

  • Send private message

2

Thursday, April 29th 2004, 4:35pm

RE: [Konqueror] Search Bar (CVS)

I think you need kdelibs CVS HEAD.
David Faure, KDE developer, Klaralvdalens-Datakonsult AB.