compile problem kdevelop-pg-qt

Milian Wolff mail at milianw.de
Wed Jun 22 14:34:07 BST 2011


On Wednesday 22 June 2011 14:21:12 jay wrote:
> Hi,

hey

> i've run into a problem in kdevelop-pg-qt compilation, with which google
> could not help me.
> 
> Setup:
> - fedora 15
> - using scripts from here
> http://milianw.de/blog/building-kdevplatform-kdevelop-and-the-php-plugin-fr
> om-git - successfully compiled kdevplatform and kdevelop
> - flex and bison installed
> 
> $ cmakekde
> ..
> [ 85%] Built target benchmarks_automoc
> Linking CXX executable benchmarks
> /usr/bin/ld: CMakeFiles/benchmarks.dir/benchmarks.o: undefined reference
> to symbol 'QObject::childEvent(QChildEvent*)'
> /usr/bin/ld: note: 'QObject::childEvent(QChildEvent*)' is defined in DSO
> /usr/lib/libQtCore.so.4 so try adding it to the linker command line
> /usr/lib/libQtCore.so.4: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> 
> devel package is installed:
> $ yum whatprovides */libQtCore*
> ..
> 1:qt-4.7.2-8.fc15.i686 : Qt toolkit
> Repo : installed
> Matched from:
> Filename : /usr/lib/libQtCore.so.4.7
> Filename : /usr/lib/libQtCore.so.4.7.2
> Filename : /usr/lib/libQtCore.so.4
> 1:qt-devel-4.7.2-8.fc15.i686 : Development files for the Qt toolkit
> Repo : installed
> Matched from:
> Filename : /usr/lib/libQtCore_debug.so
> Filename : /usr/lib/libQtCore.so
> Filename : /usr/lib/libQtCore.prl
> 
> Is it a bug in kdevelop-pg-qt or my setup?

that looks really odd, I'd say it's on your side but not sure what is actually 
broken. Try reinstalling libQtCore ;-)

btw: can you compile other Qt apps or do you get similar odd errors?

bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20110622/f721b16a/attachment.sig>


More information about the KDevelop mailing list