Copy plastik window decoration to build directory
Summary: This ensures that DontCrashAuroraeDestroyDecoTest can load the plastik window decoration when run from build directory as it happens on build.kde.org. Test Plan: Test passes now when manipulating XDG_DATA_DIRS to hide system install Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D16745icc-effect-5.17.5
parent
9554017450
commit
c19627b492
|
@ -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());
|
||||
qRegisterMetaType<KWin::ShellClient*>();
|
||||
qRegisterMetaType<KWin::AbstractClient*>();
|
||||
QSignalSpy workspaceCreatedSpy(kwinApp(), &Application::workspaceCreated);
|
||||
|
|
|
@ -6,3 +6,5 @@ install(DIRECTORY package/
|
|||
install(FILES package/metadata.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}/${KWIN_NAME}
|
||||
RENAME kwin4_decoration_qml_plastik.desktop)
|
||||
|
||||
file(COPY package/ DESTINATION ${CMAKE_BINARY_DIR}/bin/kwin/decorations/kwin4_decoration_qml_plastik)
|
||||
|
|
Loading…
Reference in New Issue