2268b6bcdd
Add functions for converting QImage to HBITMAP and back supporting additional formats of QImage (RGB888, RGB555, Indexed8 and Mono). Add test with roundtrip to tst_qimage similar to tst_QPixmap::toWinHBITMAP(). Task-number: QTBUG-51124 Change-Id: Ib568898e7162686bfa527d828785628eb0b78e21 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
13 lines
253 B
Prolog
13 lines
253 B
Prolog
CONFIG += testcase
|
|
TARGET = tst_qimage
|
|
SOURCES += tst_qimage.cpp
|
|
|
|
QT += core-private gui-private testlib
|
|
qtConfig(c++11): CONFIG += c++11
|
|
|
|
android:!android-embedded: RESOURCES += qimage.qrc
|
|
|
|
win32:!winrt: LIBS += -lgdi32 -luser32
|
|
|
|
TESTDATA += images/*
|