[SDL] Re: Qtopia patches (input grabbing and iconify)
david at hedbor.org
Sun Dec 29 12:19:01 PST 2002
Bernd Lachner <blachner at gmx.de> writes:
>> Ok, here's a patch that adds support for SDL_WM_GrabInput (default
>> state is "ungrabbed") and SDL_WM_IconifyWindow. Also has some other
>> tweaks such as taking additional steps to clean up when exiting
>> (bypassing certain bugs in some versions of Qtopia and/or OPIE) and it
>> also maps Key_F33 to Key_Return (this is the Zaurus 'ok' key).
> I patched the SDL library, recompiledt and installed it on the Zaurus (german
> version with original sharp ROM). Afther that, I recompiled the Zaurus port
> of the C64 Emulator Frodo and linked it against the new libSDLMain.
> This new version of frodo prints the following on the Zaurus console when i
> start it:
> QPaintDevice: Must construct a QApplication before a QPaintDevice
> The old Zaurus version of Frodo still works with the new version of the SDL.
> Some hints, what I have done wrong?
Hmm. It sounds like you didn't use -Dmain=SDL_main when compiling (or
didn't link with -lSDLmain, but you said you did, so that's not
it). Either that or the SDLmain library you're using is stripped (how
big is it?).
[ Below is a random fortune, which is unrelated to the above message. ]
The few, the proud, the not very bright.
More information about the SDL