MAKE_KDEFX_LIB

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Tue Apr 18 12:41:38 CEST 2006


> -----Original Message-----
> From: Christian Ehrlicher [mailto:Ch.Ehrlicher at gmx.de]
> Sent: terça-feira, 18 de Abril de 2006 11:19
> To: kde-buildsystem at kde.org
> Cc: kde-buildsystem at kde.org
> Subject: RE: MAKE_KDEFX_LIB
> 
> <snip>
> > As you can see, __declspec(dllimport) is being used because
> > MAKE_KDEFX_LIB is not defined.

> What's wrong with __declspec(dllimport) here?

I though it should be dllexport... it even works that way :)

> kdefx.lib doesn't export struct KStyle::DoubleButtonOption - that's the
> problem. But it's correctly exported in kstyle.h - seems like msvc doesn't
> like this template very much...

When I change KStyle::DoubleButtonOption and the base class to __declspec(dllexport) it works. That's why I though it should be related to the dllimport issue, but I don't understand this well enough to tell.

Paulo



More information about the Kde-buildsystem mailing list