SRCDIR was not defined for WinCE but it should no longer be used.
Fixed test case to use QFINDTESTDATA instead.
Change-Id: I07cbf7d42790d33e2d205d1682ec10e7577a92bd
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
addFiles.path = .
DEPLOYMENT += addFiles
} else {
- DEFINES += SRCDIR=\\\"$$PWD\\\"
-
TESTDATA += baseline/*
}
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
{
QVector<int> expectedWidths;
- QFile f(QLatin1String(SRCDIR "/baseline/smartmaxsize"));
+ QFile f(QFINDTESTDATA("baseline/smartmaxsize"));
QCOMPARE(f.open(QIODevice::ReadOnly | QIODevice::Text), true);