[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: QT + SDL
From: Josef Spillner <dr_maux () maux ! de>
Date: 2001-10-27 9:16:37
[Download RAW message or body]
On Saturday 27 October 2001 02:29, Carsten Pfeiffer wrote:
> Converting pixmaps to images is slow -- can't you simply embed the SDL
> window into a QWidget? Or doesn't QXEmbed work?
I found something much easier now, works with every vanilla qwidget:
QString ids;
setenv("SDL_WINDOWID", ids.setNum(winId()), 1);
Don't ask me about portability, it's an undocumented hack since 1.1 as it
seems...
Josef
--
The MindX Open Source Project: Fighting proprietary games
GGZ now! - The GGZ Gaming Zone: http://ggz.sourceforge.net
ggz.morat.net | ggz.snafu.de | jzaun.com | mindx.sourceforge.net/europeone
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic