win32 build stops with linker error

Christian Ehrlicher Ch.Ehrlicher at gmx.de
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!

Christian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060208/c23a1f75/attachment.pgp 


More information about the Kde-buildsystem mailing list