Bug 73011

Summary: KDevelop 3.0 doesn't link with KDE 3.1.5
Product: [Applications] kdevelop Reporter: Stephan Binner <binner>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Stephan Binner 2004-01-20 10:27:47 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources

make[5]: Entering directory `/usr/src/konstruct-3.1/apps-unstable/kdevelop/work/kdevelop-3.0.0r1/editors/qeditor'
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -O2 -pipe -I~/kde3.1.5/include -I/usr/X11R6/include -L~/kde3.1.5/lib -L/usr/X11R6/lib -O2 -pipe -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   -L~/kde3.1.5/lib -L/usr/X11R6/lib -o libqeditorpart.la -rpath ~/kde3.1.5/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R ~/kde3.1.5/lib -R ~/kde3.1.5/lib -R /usr/X11R6/lib  -L/usr/X11R6/lib -L~/kde3.1.5/lib  libqeditorpart_la.all_cpp.lo  -lkparts -lkio -lktexteditor ../../lib/util/libkdevutil.la ../../lib/interfaces/libkdevinterfaces.la
.libs/libqeditorpart_la.all_cpp.o(.text+0x1b4c0): In function `QEditorView::find_real(QTextParagraph*, int, QTextParagraph*, int)':
: undefined reference to `QTextString::toString(bool) const'
.libs/libqeditorpart_la.all_cpp.o(.text+0x1b5e4): In function `QEditorView::find_real(QTextParagraph*, int, QTextParagraph*, int)':
: undefined reference to `QTextString::toString(bool) const'
.libs/libqeditorpart_la.all_cpp.o(.text+0x1b691): In function `QEditorView::find_real(QTextParagraph*, int, QTextParagraph*, int)':
: undefined reference to `QTextString::toString(bool) const'
.libs/libqeditorpart_la.all_cpp.o(.text+0x1b790): In function `QEditorView::find_real(QTextParagraph*, int, QTextParagraph*, int)':
: undefined reference to `QTextString::toString(bool) const'
.libs/libqeditorpart_la.all_cpp.o(.text+0x1b82d): In function `QEditorView::find_real(QTextParagraph*, int, QTextParagraph*, int)':
: undefined reference to `QTextString::toString(bool) const'
.libs/libqeditorpart_la.all_cpp.o(.text+0x1b884): more undefined references to `QTextString::toString(bool) const' follow
collect2: ld returned 1 exit status
make[5]: *** [libqeditorpart.la] Error 1
make[5]: Leaving directory `/usr/src/konstruct-3.1/apps-unstable/kdevelop/work/kdevelop-3.0.0r1/editors/qeditor'
Comment 1 Amilcar do Carmo Lucas 2004-01-20 11:02:55 UTC
Please do _not_ report compilation or linking errors to the bug database, use the mailing list instead as described in http://www.kdevelop.org/index.html?filename=bugs.html

I tested compilation with --enable-final on both KDE 3.0.2 and KDE 3.1.1
Both worked fine. So probably the error is in KDE 3.1.5 or on your setup.

What exacly are your KDE version, gcc version and QT Version?
Comment 2 Stephan Binner 2004-01-20 12:03:07 UTC
Seems the update to KDE 3.1.5 made the difference - KDevelop 3.0 Beta 2 now shows the same behavior too.
Comment 3 Sascha Cunz 2004-01-20 18:45:56 UTC
Just to get this solved anyway: QEditorView is a Qt thing - and i'd bet, that QEdtior still uses some private Qt API that is not in some Qt Versions.

So, just to have in the records which Qt we cannot link against: Stephan, what's your Qt Version in that setup?
Comment 4 Stephan Binner 2004-01-20 18:50:05 UTC
Qt 3.1.2
Comment 5 Amilcar do Carmo Lucas 2004-01-20 19:51:46 UTC
I develop KDevelop with Qt 3.1.2.
So it has to be something else!