From 32a1fa45638cde71d29a1f74423cfcbdc56389ad Mon Sep 17 00:00:00 2001 From: Luciano Wolf Date: Mon, 28 Mar 2011 10:38:10 -0300 Subject: Use QDir::currentPath() to avoid problems with armel-Meego target. Reviewer: Marcelo Lira Hugo Parente --- tests/test_generator/dummygentest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_generator/dummygentest.cpp b/tests/test_generator/dummygentest.cpp index 83f3c9263..a71abfccd 100644 --- a/tests/test_generator/dummygentest.cpp +++ b/tests/test_generator/dummygentest.cpp @@ -35,7 +35,7 @@ void DummyGenTest::initTestCase() int argc = 0; char* argv[] = {NULL}; QCoreApplication app(argc, argv); - workDir = QCoreApplication::applicationDirPath(); + workDir = QDir::currentPath(); headerFilePath = workDir + "/test_global.h"; typesystemFilePath = workDir + "/test_typesystem.xml"; -- cgit v1.2.3