PDA

View Full Version : The issue of using generic and PAINTONSCREEN feature at the same time in QT/Embedded



autodanping
30th May 2011, 09:40
The default 32-bit image format in QT/Embedded is QImage::Format_ARGB32(0xAARRGGBB), but the image format which is supported in our platform is BGRA(0xBBGGRRAA). This issue could be solved by setting "generic" to depths in compiling step. The question is that the feature of QT_ONSCREEN_PAINT=force is not available when we want to use it to accelerate the performance of our application in this case since the value of screen->pixelFormat() is QImage::Format_Invalid and the color feature is set through "generic". Does anybody know how to use "generic" and "PAINTONSCREEN" feature at the same time? Thanks!