win32 build stops with linker error

Christian Ehrlicher Ch.Ehrlicher at
Wed Feb 8 18:24:57 CET 2006

David Faure schrieb:
> On Wednesday 08 February 2006 17:54, Peter Kümmel wrote:
>> #ifdef Q_OS_WIN
>> template class __declspec(dllexport) QMap<QString, QString>;
>> #endif
>> Does the job.
> Great. Does it also work as
> template class KIO_EXPORT QMap<QString, QString>;
> or does it have to be always dllexport even from other libs seeing this code?
> I'm asking because it would be nice to get the symbols into kio on unix too,
> to reduce the number of relocations.
But then you should use KDE_EXPORT instead!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : 

More information about the Kde-buildsystem mailing list