d6f971c854
prepareToRender() might call adjustSize() resulting in the widget's size changing, so we should make sure to call adjustSize() _before_ we decide on the required pixmap dimensions. Task-number: QTBUG-21402 Change-Id: Ie72b46bc8e8e22f848769f78187f47ae9f4e37d3 Reviewed-on: http://codereview.qt-project.org/4772 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
34 lines
810 B
Prolog
34 lines
810 B
Prolog
load(qttest_p4)
|
|
|
|
QT += core-private gui-private widgets widgets-private
|
|
|
|
SOURCES += tst_qpixmap.cpp
|
|
wince*|symbian: {
|
|
|
|
task31722_0.files = convertFromImage/task31722_0/*.png
|
|
task31722_0.path = convertFromImage/task31722_0
|
|
|
|
task31722_1.files = convertFromImage/task31722_1/*.png
|
|
task31722_1.path = convertFromImage/task31722_1
|
|
|
|
icons.files = convertFromToHICON/*
|
|
icons.path = convertFromToHICON
|
|
|
|
loadFromData.files = loadFromData/*
|
|
loadFromData.path = loadFromData
|
|
|
|
DEPLOYMENT += task31722_0 task31722_1 icons loadFromData
|
|
}
|
|
|
|
wince*: {
|
|
DEFINES += SRCDIR=\\\".\\\"
|
|
DEPLOYMENT_PLUGIN += qico
|
|
} else:symbian {
|
|
LIBS += -lfbscli.dll -lbitgdi.dll -lgdi.dll
|
|
} else {
|
|
DEFINES += SRCDIR=\\\"$$PWD\\\"
|
|
win32:LIBS += -lgdi32 -luser32
|
|
}
|
|
|
|
RESOURCES += qpixmap.qrc
|