Hi,

I tried to run the autotests for the directFB backend and for one I
am not sure how to proceed. In tst_qpixmap::mask() the test constructs
a QBitmap() and then sets this mask on the QPixmap and check that
pixmap.mask().isNull().

The reduced test case is:
QPixmap pm(100,100);
QVERIFY(pm.mask().isNull());

or with looking at the implementation of QPixmap::mask()
QPixmap pm();
QVERIFY(!pm.handle() || !pm.hasAlphaChannel());


Is this a requirement for QPA platforms that the QPixmap by default
has no alphachannel or should the test be altered?

cheers
  holger

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to