diff --git a/autotests/kconfigtest.cpp b/autotests/kconfigtest.cpp --- a/autotests/kconfigtest.cpp +++ b/autotests/kconfigtest.cpp @@ -94,7 +94,7 @@ } static inline QString kdeGlobalsPath() { - return testConfigDir() + "../kdeglobals"; + return QDir::cleanPath(testConfigDir() + "..") + "/kdeglobals"; } void KConfigTest::initTestCase()