Commit c19627b4 authored by Martin Flöser's avatar Martin Flöser

Copy plastik window decoration to build directory

This ensures that DontCrashAuroraeDestroyDecoTest can load the plastik
window decoration when run from build directory as it happens on

Test Plan: Test passes now when manipulating XDG_DATA_DIRS to hide system install

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent 95540174
......@@ -54,6 +54,7 @@ void DontCrashAuroraeDestroyDecoTest::initTestCase()
if (!QFile::exists(QStringLiteral("/dev/dri/card0"))) {
QSKIP("Needs a dri device");
qputenv("XDG_DATA_DIRS", QCoreApplication::applicationDirPath().toUtf8());
QSignalSpy workspaceCreatedSpy(kwinApp(), &Application::workspaceCreated);
......@@ -6,3 +6,5 @@ install(DIRECTORY package/
install(FILES package/metadata.desktop
RENAME kwin4_decoration_qml_plastik.desktop)
file(COPY package/ DESTINATION ${CMAKE_BINARY_DIR}/bin/kwin/decorations/kwin4_decoration_qml_plastik)
Markdown is supported
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