Linker Problem with Msvc

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


Hi,

once again an ugly linker problem with Msvc and kio (class MetaData in
global.h). It's the same like described here:
http://lists.trolltech.com/qt-interest/2005-12/thread00622-0.html

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

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?

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-core-devel/attachments/20051219/cb7d3715/attachment.sig>


More information about the kde-core-devel mailing list