summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/text/qfont/qfont.pro
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-10-17 14:31:33 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-19 18:04:36 +0200
commit9690548113e03614c770cec44a527e6c1edce6ab (patch)
tree98f30932311f463468d5095bd9669843fb794476 /tests/auto/gui/text/qfont/qfont.pro
parentbdc115d9698d4f3cf5ce089dbddca75e425d3eeb (diff)
QFont: Don't invalidate engine unless request has been changed
This makes QFont do a "light" detach when the font attributes data has been changed. The new test clearly shows that the engine is now shared between two font instances after changing the kerning attribute. Change-Id: I59db822f459f02d111686dba7101b98e361fada9 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/gui/text/qfont/qfont.pro')
-rw-r--r--tests/auto/gui/text/qfont/qfont.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/gui/text/qfont/qfont.pro b/tests/auto/gui/text/qfont/qfont.pro
index 86178f3fa6..562294dd66 100644
--- a/tests/auto/gui/text/qfont/qfont.pro
+++ b/tests/auto/gui/text/qfont/qfont.pro
@@ -2,6 +2,7 @@ CONFIG += testcase
CONFIG += parallel_test
TARGET = tst_qfont
QT += testlib
+QT += core-private gui-private
!contains(QT_CONFIG, no-widgets): QT += widgets
SOURCES += tst_qfont.cpp