From d414a9b0cb9fe4aab4af6dfb5a2dc1053496ba1f Mon Sep 17 00:00:00 2001 From: Dominik Louven Date: Fri, 27 Mar 2020 15:02:13 +0100 Subject: [PATCH] Fix wallpaper and widget binary paths for linux debug build --- ScreenPlay/src/settings.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ScreenPlay/src/settings.cpp b/ScreenPlay/src/settings.cpp index 9dd77a31..dfce88a7 100644 --- a/ScreenPlay/src/settings.cpp +++ b/ScreenPlay/src/settings.cpp @@ -164,6 +164,11 @@ void Settings::setupWidgetAndWindowPaths() m_globalVariables->setWidgetExecutablePath(QUrl(workingDir.path() + "/ScreenPlayWidget/debug/ScreenPlayWidget.exe")); m_globalVariables->setWallpaperExecutablePath(QUrl(workingDir.path() + "/ScreenPlayWallpaper/debug/ScreenPlayWallpaper.exe")); #endif + +#ifdef Q_OS_LINUX + m_globalVariables->setWidgetExecutablePath(QUrl(workingDir.path() + "/ScreenPlayWidget/ScreenPlayWidget")); + m_globalVariables->setWallpaperExecutablePath(QUrl(workingDir.path() + "/ScreenPlayWallpaper/ScreenPlayWallpaper")); +#endif } // We need to detect the right base path so we can copy later the example projects