ki18n_wrap_ui and libraries
Chusslove Illich
caslav.ilic at gmx.net
Tue Apr 29 19:27:29 UTC 2014
> [: Martin Gräßlin :]
> If my understanding is correct one needs to define TRANSLATION_DOMAIN
> before including KLocalizedString for library code. But the CMake macro
> ki18n_wrap_ui does not allow to define the TRANSLATION_DOMAIN.
>
> Is there something I have overseen or is that indeed missing from the
> macro?
It was my initial intention that ki18n_wrap_ui had translation domain
argument, but after some discussion people thought it better to have
add_definitions(-DTRANSLATION_DOMAIN=\"kfoobar\") cover uic-generated code
too.
--
Chusslove Illich (Часлав Илић)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140429/b138742e/attachment.sig>
More information about the Kde-frameworks-devel
mailing list