summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlabel/qlabel.pro
diff options
context:
space:
mode:
authorSarah Smith <sarah.j.smith@nokia.com>2009-10-20 01:53:30 (GMT)
committerSarah Smith <sarah.j.smith@nokia.com>2009-10-20 01:53:30 (GMT)
commit420be4ee3d98c093c71cc840192138da6b5e61d2 (patch)
tree9debab52db05f930d2c72095eae0953a320a2816 /tests/auto/qlabel/qlabel.pro
parentdfd6221d960ec8c563a687684000c3a9c4f58079 (diff)
downloadQt-420be4ee3d98c093c71cc840192138da6b5e61d2.zip
Qt-420be4ee3d98c093c71cc840192138da6b5e61d2.tar.gz
Qt-420be4ee3d98c093c71cc840192138da6b5e61d2.tar.bz2
Fix bug QTBUG-4848
Make the shapeText function return numGlyphs properly - its not always the same as length of string. Task-number: QTBUG-4848 Reviewed-by: Rhys Weatherley
Diffstat (limited to 'tests/auto/qlabel/qlabel.pro')
-rw-r--r--tests/auto/qlabel/qlabel.pro21
1 files changed, 6 insertions, 15 deletions
diff --git a/tests/auto/qlabel/qlabel.pro b/tests/auto/qlabel/qlabel.pro
index 6d55c13..297f868 100644
--- a/tests/auto/qlabel/qlabel.pro
+++ b/tests/auto/qlabel/qlabel.pro
@@ -1,19 +1,10 @@
load(qttest_p4)
-SOURCES += tst_qlabel.cpp
-
-wince*:{
- DEFINES += SRCDIR=\\\"\\\"
-} else:!symbian {
- DEFINES += SRCDIR=\\\"$$PWD/\\\"
-}
-
-wince*|symbian {
- addFiles.sources = *.png testdata
+SOURCES += tst_qlabel.cpp
+wince*::DEFINES += SRCDIR=\\\"\\\"
+else:!symbian:DEFINES += SRCDIR=\\\"$$PWD/\\\"
+wince*|symbian {
+ addFiles.sources = *.png \
+ testdata
addFiles.path = .
DEPLOYMENT += addFiles
}
-
-
-
-
-