05-03-2013 04:46 PM
Hi, I am trying to use QTransform to rotate an image after finding out its orientation but the app crashes when it runs
QTransform myTransform; myTransform.rotate(90); qImage = qImage.transformed(myTransform,Qt::SmoothTransform
I don't know what part of my implementation is wrong. Thanks!
05-03-2013 05:52 PM
05-03-2013 07:02 PM
Yes, I've seen both of those threads before I posted. I've tried inluding the QtCore library and included <QTransform> (which creates "unresolved inclusion" so project build)
05-03-2013 08:05 PM
Assuming the app builds and runs okay, but crashes when doing the image transform, I strongly suspect that the actual cause of the crash is something you're doing (or not doing) before or after the code snippet posted above.