kdelibs/kimgio

Simon Hausmann hausmann at kde.org
Tue Jan 7 22:12:50 GMT 2003


On Tue, Jan 07, 2003 at 09:12:57PM +0100, kde at ritzert.de wrote:
> Hi Dirk,
> 
>  --- Ursprüngliche Nachricht ---
> Datum: 07.01.2003 00:16
> Von: Dirk Mueller <mueller at kde.org>
> An: kde-core-devel at kde.org
> Betreff: Re: kdelibs/kimgio
> 
> > On Mon, 06 Jan 2003, Michael Ritzert wrote:
> >
> > > Hmm, so I guess it's just luck that d-casting to QFile* succeeds.
> > > Any other ideas?
> >
> > Simply use RTLD_GLOBAL.
> 
> I'm not sure I understand this. As I see it, my code is in the library
> that's being dlopened and I do not have any control over how this is done.
> Please elaborate on what I need to do.

You don't need to do anything. You can safely use dynamic-cast on
types coming out of Qt. (imagine how much code would break if that
wouldn't work :)

Simon




More information about the kde-core-devel mailing list