trouble building KDE4
Eugeniu Plamadeala
eugen.plamadeala at gmail.com
Tue Aug 28 01:07:50 BST 2007
Hi!
I'm having trouble building KDE4: I get some error messages during the
compilation of konqueror stuff.
First, in the latest revision, the constructor declaration in
konqueror/src/konqfactory.h differs from the definition in
konqueror/src/konqfactory.cpp, namely:
Header file: KonqViewFactory( KPluginFactory *factory, const QStringList
&args, bool createBrowser );
Cpp file: KonqViewFactory::KonqViewFactory( KLibFactory *factory, const
QStringList &args, bool createBrowser )
Notice the difference between KPluginFactor *, and KLibFactory *.
Now, perhaps it's meant to be like this, but my g++ doesn't like it.
To quote it:
--------------------------------
...deinit_konqueror.dir/konqbrowseriface.o -c /home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqbrowseriface.cpp
/home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqfactory.cpp:52:
error: prototype for ‘KonqViewFactory::KonqViewFactory(KLibFactory*, const
QStringList&, bool)’ does not match any in class ‘KonqViewFactory’
/home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqfactory.h:42:
error: candidates are: KonqViewFactory::KonqViewFactory(const
KonqViewFactory&)
/home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqfactory.h:40:
error: KonqViewFactory::KonqViewFactory(KPluginFactory*,
const QStringList&, bool)
/home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqfactory.h:38:
error: KonqViewFactory::KonqViewFactory()
/home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqfactory.cpp: In
constructor ‘KonqViewFactory::KonqViewFactory(KLibFactory*, const
QStringList&, bool)’:
/home/kde-devel/kde/src/KDE/kdebase/apps/konqueror/src/konqfactory.cpp:53:
error: cannot convert ‘KLibFactory*’ to ‘KPluginFactory*’ in initialization
--------------------------------------------
So, who's right?
By the way, I tried changing KLibFactory into KPluginFactor... and then it
complains about other stuff.
I'd appreciate any input on this, thanks!
--
Best regards,
Eugeniu
************************
eugen.plamadeala at gmail.com
www.plamadeala.com
PGP Key ID: 0x486EA33F
************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20070827/e15748c3/attachment.sig>
More information about the kfm-devel
mailing list