Commit a210e815 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Help KSldTest to find its helper binaries with latest ECM's bin/ collection

With all libraries, plugins and executables built into builddir's
toplevel "bin" directory, the working directory on test execution no
longer matches the binary location.

https://community.kde.org/Guidelines_and_HOWTOs/Making_apps_run_uninstalled
recommends to just use QDir::setCurrent(QCoreApplication::applicationDirPath());
parent c03812ab
......@@ -42,6 +42,8 @@ private Q_SLOTS:
void KSldTest::initTestCase()
{
QCoreApplication::setAttribute(Qt::AA_ForceRasterWidgets);
// change to the build bin dir
QDir::setCurrent(QCoreApplication::applicationDirPath());
}
void KSldTest::testEstablishGrab()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment