##// END OF EJS Templates
Fix multi-line axis titles....
Fix multi-line axis titles. Since QFontMetrics doesn't support getting bounding rects for multi-line strings, we use a dummy graphicsitem instead. Task-number: QTRD-2057 Change-Id: Id6e6a27a00977d295e6f1bce070b08df21c2a666 Reviewed-by: Mika Salmela <mika.salmela@digia.com>

File last commit:

r2524:eaf45afc1a90
r2530:5f790ea7fbdd
Show More
auto.pri
25 lines | 831 B | text/plain | TextLexer
!include( ../tests.pri ) {
error( "Couldn't find the tests.pri file!" )
}
greaterThan(QT_MAJOR_VERSION, 4) {
QT += testlib widgets
} else {
CONFIG += qtestlib
}
!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
android {
# Workaround to fix android deployment, which seems to always look for target in
# OUT_PWD instead of DESTDIR. Need to override the QMAKE_POST_LINK setting done
# in tests.pri, as "tst_" was prepended to the target.
QMAKE_POST_LINK = $$QMAKE_COPY $$CHART_BUILD_BIN_DIR/lib$${TARGET}.so $$OUT_PWD/lib$${TARGET}.so
}
INCLUDEPATH += ../inc
HEADERS += ../inc/tst_definitions.h
OBJECTS_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET
MOC_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET
UI_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET
RCC_DIR = $$CHART_BUILD_DIR/tests/auto/$$TARGET