diff --git a/recipes-qt/qt6/qtapplicationmanager/0001-Don-t-store-build-dir-to-the-binaries.patch b/recipes-qt/qt6/qtapplicationmanager/0001-Don-t-store-build-dir-to-the-binaries.patch index 99c65c4..ab1b0c5 100644 --- a/recipes-qt/qt6/qtapplicationmanager/0001-Don-t-store-build-dir-to-the-binaries.patch +++ b/recipes-qt/qt6/qtapplicationmanager/0001-Don-t-store-build-dir-to-the-binaries.patch @@ -1,4 +1,4 @@ -From 37b0a11ac7ca9521b4f1446ad817ee28d2216698 Mon Sep 17 00:00:00 2001 +From e16e843dbcb67d7262379ac131ce3867d0ec169d Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Wed, 16 Oct 2024 09:05:15 +0000 Subject: [PATCH] Don't store build dir to the binaries @@ -14,16 +14,16 @@ Upstream-Status: Pending 1 file changed, 3 deletions(-) diff --git a/src/main-lib/main.cpp b/src/main-lib/main.cpp -index 1deba17d..8cd5599a 100644 +index 28a5e3eb..e51eb466 100644 --- a/src/main-lib/main.cpp +++ b/src/main-lib/main.cpp -@@ -139,9 +139,6 @@ Main::Main(int &argc, char **argv, InitFlags initFlags) +@@ -141,9 +141,6 @@ Main::Main(int &argc, char **argv, InitFlags initFlags) false; #endif - // this might be needed later on by the native runtime to find a suitable qml runtime launcher - setProperty("_am_build_dir", QString::fromLatin1(AM_BUILD_DIR)); - - UnixSignalHandler::instance()->install(UnixSignalHandler::ForwardedToEventLoopHandler, - { SIGINT, SIGTERM }, - [](int sig) { + static bool once = false; + if (!once) { + once = true;