SDL on Sharp Zaurus

I am trying to compile qmame to SDL and have compiled SDL using the Qtopia instructions. QMame compiles fine, but when running the executable on the Zaurus I am receiving the error: “QPaintDevice: Must construct a QApplication before a QPaintDevice”. Anyone seen this before?

LD

“Davon Solomon” writes:

  1. (*) text/plain ( ) text/html

I am trying to compile qmame to SDL and have compiled SDL using the
Qtopia instructions. QMame compiles fine, but when running the
executable on the Zaurus I am receiving the error: “QPaintDevice: Must
construct a QApplication before a QPaintDevice”. Anyone seen this
before?

You aren’t linking with SDLmain.a. I assume you aren’t using
sdl-config --cflags/sdl-config --libs to get the correct compile flags
and link flags/libraries.–
[ Below is a random fortune, which is unrelated to the above message. ]
Nobody ever ruined their eyesight by looking at the bright side of something.

I am trying to compile qmame to SDL and have compiled SDL using the =
Qtopia instructions. QMame compiles fine, but when running the =
executable on the Zaurus I am receiving the error: “QPaintDevice: Must =
construct a QApplication before a QPaintDevice”. Anyone seen this =
before?

I have had the same problem for the last two days.

When you configure the SDL, the QTDIR variable must be set to the Qtopia dir
for sharp and not to qt for x86. For me it works with:

export QTDIR=/opt/Qtopia/sharp

When yo compiling QMame be sure that it uses the sdl-config script from the
ARM version. On my system its installed in /opt/Qtopia/sharp/bin

Thank you all for the help, but it is still not working. I did have the
sdl-config --libs sdl-config --cflags already setup in the file. Also, I have
my QTDIR set to /opt/Qtopia/sharp already.

I do know that my Qtopia environment is correct since this application is
already compiled using QPE, but I am now trying to convert it to SDL. The
application is QMame (for anyone wondering).

LD__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

Actually, I am using both of those except I am using the full path (the /opt/Qtopia one) before sdl-config.

LD

David S writes:

Thank you all for the help, but it is still not working. I did have the
sdl-config --libs sdl-config --cflags already setup in the file. Also, I have
my QTDIR set to /opt/Qtopia/sharp already.

I do know that my Qtopia environment is correct since this application is
already compiled using QPE, but I am now trying to convert it to SDL. The
application is QMame (for anyone wondering).

And the output of sdl-config --libs and sdl-config --cflags has
references to SDLmain etc? Can you email me (personally) your
config.log files?–
[ Below is a random fortune, which is unrelated to the above message. ]
QOTD:
My mother was the travel agent for guilt trips.

David,

I sent you my makefiles to your email. I hope they help. I am also going to
try downloading SDL from the CVS (Since I am using the Aug30th Image) and see
if that helps.

David

— David Hedbor wrote:> David S <@David_S> writes:

Thank you all for the help, but it is still not working. I did have the
sdl-config --libs sdl-config --cflags already setup in the file. Also, I
have
my QTDIR set to /opt/Qtopia/sharp already.

I do know that my Qtopia environment is correct since this application is
already compiled using QPE, but I am now trying to convert it to SDL. The
application is QMame (for anyone wondering).

And the output of sdl-config --libs and sdl-config --cflags has
references to SDLmain etc? Can you email me (personally) your
config.log files?


[ Below is a random fortune, which is unrelated to the above message. ]
QOTD:
My mother was the travel agent for guilt trips.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes