QT_INSTALL_DIR, KDELibsDependencies.cmake and flexible install location of Qt
Patrick Spendrin
ps_ml at gmx.de
Tue Jan 5 23:28:26 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Neundorf schrieb:
> On Sunday 03 January 2010, Alexander Neundorf wrote:
>> On Saturday 02 January 2010, Patrick Spendrin wrote:
>>> Ok, I tested the second patch and everything is set correctly; so I
>>> checked what went wrong, and it seems that according to the cmake docs
>>> the IMPORTED_LOCATION property of the imported target is requires the
>>> location of the dll on dll platforms. Since the find_library call
>>> returns the import library instead though, changing the call
>>> add_library(Qt4__${basename} SHARED IMPORTED) to
>>> add_library(Qt4__${basename} UNKNOWN IMPORTED) or STATIC works far
>>> better (I guess it assumes that the .lib file is the static version
>>> then) but as far as I understand, this is slightly wrong as the import
>>> version is *not* the static version of the library. I am not sure if
>>> this can make any difference for cmake, since it shouldn't care for that.
>> Can you please try the new patch ?
>> Now under Windows the IMPORTED_IMPLIB property is set instead
>> IMPORTED_LOCATION. Does that help ?
>>
>> Alex
>
> Did you already have time to give it a try ?
Yes, works, sorry for being a bit late.
>
> Alex
>
>
regards,
Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (MingW32)
iEUEARECAAYFAktDvQoACgkQi49rfdk/G3YYRwCY9JRRdXDBsF5QMRDEqgQDATku
WACfRPr9YbNVRcOVBXSpFepNVSH9sO4=
=ZB8h
-----END PGP SIGNATURE-----
More information about the Kde-windows
mailing list