I have a console app and I want to be able to create a QImage and then draw on it with QPainter (Qt 4.5), without creating a GUI app and on-screen windows of any kind. Will this "just work" on Mac, Windows, and Linux?