qt5base-lts/tests/auto/gui/image/qimage/qimage.pro
Friedemann Kleint 2268b6bcdd QtGui: Add qt_imageToWinHBITMAP(), qt_imageFromWinHBITMAP()
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>
2018-04-10 12:20:45 +00:00

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/*