From f5fbdaa6ca42bcaab195c9d4c2756ae253cbf8f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 2 Oct 2015 16:02:13 +0200 Subject: [PATCH] [autotests] Don't use QTEST_SET_MAIN_SOURCE_PATH It fails to build on Kubuntu's CI. Apparently not defined, let's use what it resolves to on the author's system. --- autotests/wayland/kwin_wayland_test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/wayland/kwin_wayland_test.h b/autotests/wayland/kwin_wayland_test.h index 772a23be3e..44b6a5b3b8 100644 --- a/autotests/wayland/kwin_wayland_test.h +++ b/autotests/wayland/kwin_wayland_test.h @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) \ KWin::WaylandTestApplication app(argc, argv); \ app.setAttribute(Qt::AA_Use96Dpi, true); \ TestObject tc; \ - QTEST_SET_MAIN_SOURCE_PATH \ + QTest::setMainSourcePath("anonymous"); \ return QTest::qExec(&tc, argc, argv); \ }