PDA

View Full Version : QT 4.6.2 Pixmap Crash on Mac... But not Window???



Hayemakers
16th April 2010, 17:20
I've developed an application that works perfectly great on my Windows/XP machine, handling hundreds on JPEG's with easy... However when I porting the app to my Mac it loads a Pixmap object for the 1st JPEG then crashes while trying to load the same Pixmap object with a JPEG of a different size.

Is this a QT bug passed forward from previous version? Or am I missing something? Any thoughts? Thanks

Jarvis
17th April 2010, 00:21
Hi,

I'm using Qt 4.6.2 (installed with its dependencies from MacPorts) on Snow Leopard 10.6.3 and don't have that problem.
What does the crash report tell ?

See you !

Hayemakers
20th April 2010, 16:54
I am using Tiger and the crash didn't give me any error codes... it apparently segfaulted and just crashed. I did find a work-around though by declaring a new instance of QPixmap before loading each image... I don't know that this is the most efficient method but it gets the job done for now. If you or anyone else has a better solution please enlighten me.
Thanks!