From 69000672e974ad5444b5d6df5187db13eab279de Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Wed, 7 May 2014 15:59:57 +0200 Subject: fix kconfig_compiler test on windows We have to generate the files in the same directory as the test executables otherwise QFINDTESTDATA will fail --- autotests/kconfig_compiler/test4main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autotests/kconfig_compiler/test4main.cpp') diff --git a/autotests/kconfig_compiler/test4main.cpp b/autotests/kconfig_compiler/test4main.cpp index 1df7cc5e..b4569ba9 100644 --- a/autotests/kconfig_compiler/test4main.cpp +++ b/autotests/kconfig_compiler/test4main.cpp @@ -34,7 +34,7 @@ int main(int argc, char **argv) group.writeEntry(QLatin1String("foo bar"), QStringLiteral("Value")); } Test4 *t = Test4::self(); - bool ok = QFile::exists(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + "/test4rc"); + bool ok = QFile::exists(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + "/test4rc"); if (!ok) { qWarning() << "config file was not created!"; } -- cgit v1.2.1