qt5base-lts/tests/auto/widgets/kernel/qsizepolicy/qsizepolicy.pro
Jan-Arve Saether 7cdcc26722 Fix Qt 5 todo issues for QSizePolicy.
* Merge the two public ctors.
* Use bitflags instead of shifting bits (more readable).
* Add autotest
* Use int datatype for the "stretch setters". (values out of bounds are clamped)

Streaming to QDataStream will still use the Qt 4 format.

Task-number: QTBUG-25100

Change-Id: Iecb1e78cb12717e4d84448484c3ad8ca469d571a
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
2012-05-30 01:54:45 +02:00

7 lines
115 B
Prolog

CONFIG += testcase
TARGET = tst_qsizepolicy
QT += widgets widgets-private testlib
SOURCES += tst_qsizepolicy.cpp