Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.8.0, 4.8.1, 4.8.2
-
None
-
Windows 7
Description
When try to use QImage::Format_XX in QImage constructor. Such as ## img = QImage((const unsigned char)(rgb.data), rgb.cols,rgb.rows, rgb.cols*rgb.channels(), QImage::Format_RGB888); ## The app crash immediately. Note: rgb is an OpenCV Mat image.
- OS: win7 -
- the qt Versions that could cause the problem:-
- from 4.8.0 to 4.8.2(msvc10)
- 4.8.1(mingw g++ 4.6.2), not tested in 4.8.0 and 4.8.2
###The same code work fine in 4.7.4 (mingw g++ 4.6.2, not tested in msvc2008 vc++)