You don't check that your image is successfully loaded and I'd be surprised that you can access /tmp on qnx.
Any reason to use a pointer to a QImage ? It's an implicitly shared class so you should save the trouble.
You don't check that your image is successfully loaded and I'd be surprised that you can access /tmp on qnx.
Any reason to use a pointer to a QImage ? It's an implicitly shared class so you should save the trouble.