I can now compile fbzx, the spectrum emulator. It runs, but the screen is messed up. So that I can test the result of various SDL settings to try to fix it, I've written a tiny test SDL program that should initialize SDL, open an SDL screen, then shut down.
The test uses the same command sequence as fbzx, uses the same parameters, and links to the same libraries. But if I try to run it, I get "QPaintDevice: Must construct a QApplication before a QPaintDeivce".
I can't see why it's doing that because fbzx actually runs and opens a screen.
Anybody know what's going on?
I'm using SDL1.2.6 libraries from zports with the SDL1.2.6 SDK files from gnurou.org.