Linker Problem with Msvc

Christian Ehrlicher Ch.Ehrlicher at
Mon Dec 19 18:24:12 GMT 2005


once again an ugly linker problem with Msvc and kio (class MetaData in
global.h). It's the same like described here:

According to the reporter, I have to define something similar to this:
#ifdef Q_OS_WIN
template class __declspec(dllimport) QMap<QString, QString>;

But before I add this ugly hack, I wanted to know if MetaData has to be
exported or not. If not, I could skip this.
Or has someone another idea to fix this?

-------------- 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-core-devel mailing list