[patch] fix building of phonon tests under mingw

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Tue Jun 5 17:31:05 BST 2007


Holger Schröder schrieb:
> Hi,
> 
> the following patch makes the phonon tests build under mingw under windows xp.
> 
> it needs to link against kdewin32, so that it can find ::sleep.
> 
> and when methodtest.cpp is build, PHONON_EXPORT must be defined empty. i came 
> up with the patch to phonon_export.h.cmake, because a define like this like 
> in solid obviuosly does not work:
> 
> if(WIN32)
>  set_target_properties(methodtest PROPERTIES COMPILE_FLAGS -DPHONON_EXPORT=)
> endif(WIN32)
> 
> ok to commit ?
> 
Is phonon still compilable without the rest of kdelibs? Or why isn't 
KDE_EXPORT/KDE_IMPORT used there?

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/20070605/ee95f5ff/attachment.sig>


More information about the kde-core-devel mailing list