[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Helping libraries load their own translation catalogs
From: Oswald Buddenhagen <ossi () kde ! org>
Date: 2010-11-21 22:02:13
Message-ID: 20101121220213.GA3250 () ugly ! local
[Download RAW message or body]
On Sun, Nov 21, 2010 at 12:46:53AM +0000, Albert Astals Cid wrote:
> It achieves that by creating a static that instructs KGlobal to load a
> given translation catalog on global locale creation.
>
statics in shared libraries have always been like a red flag for us. i
don't know whether the reasons (some proprietary unix dynloader) are
still applicable.
qt has Q_CONSTRUCTOR_FUNCTION in qglobal.h nowadays. its implementation
seems more complicated than necessary to me (why the integer return
value?), so i wonder whether that's a workaround for something or just
random baroqueness.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic