diff options
-rw-r--r-- | tests/test_generator/dummygentest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |