windows build

Peter Kümmel syntheticpp at gmx.net
Tue Jun 27 11:19:56 CEST 2006


Thiago Macieira wrote:
> Peter Kümmel wrote:
>> Thiago Macieira wrote:
>>> It looks like this is being caused by the KDE-side of things. Why
>>> should kauthorized.obj define the QList<QVariant>::isEmpty() and
>>> *export* it? That's an inline method defined in qlist.h.
>> Does it export it? kauthorized has its own instantiation and this one
>> conflicts with the instantiation exported by qdbus.
> 
> Isn't this the only reason why it happens?
> 
> If either symbol were not exported, there would be no conflict.

Maybe because of a missing inline:

Index: kconfigbase.h
===================================================================
--- kconfigbase.h       (revision 555266)
+++ kconfigbase.h       (working copy)
@@ -1540,7 +1540,7 @@
 }

 template <typename T>
-void KConfigBase::writeEntry( const char* pKey, const QList<T>& value,
+inline void KConfigBase::writeEntry( const char* pKey, const QList<T>& value,
                               WriteConfigFlags pFlags )
 {
 #if KCONFIG_QVARIANT_CHECK


writeEntry uses a QVariantList which will be exported by kdecore when this
function is not inline, or I'm wrong.


More information about the Kde-buildsystem mailing list