From 0d4c3c852abb77da83b1b096cf9f5352f9bb0eca Mon Sep 17 00:00:00 2001 From: Tuomas Vaarala Date: Wed, 15 Jan 2025 13:45:57 +0200 Subject: [PATCH] Remove quotation marks from objcopy call parameter for QNX If the objcopy call parameter is in quotations marks it fails the call and prevents separate debug info builds for QNX. Fixes: QTBUG-132801 Pick-to: 6.8 Change-Id: Ifadf57f80eb5c354aedeb8985bc7a0c9b79dc62e Reviewed-by: Alexandru Croitor (cherry picked from commit 9261b68395df75dbb01539c547832d9cc35521d9) Reviewed-by: Qt Cherry-pick Bot --- cmake/QtSeparateDebugInfo.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtSeparateDebugInfo.cmake b/cmake/QtSeparateDebugInfo.cmake index 77d3a428252..b557240362b 100644 --- a/cmake/QtSeparateDebugInfo.cmake +++ b/cmake/QtSeparateDebugInfo.cmake @@ -270,7 +270,7 @@ function(qt_enable_separate_debug_info target installDestination) if(QNX) set(debug_info_suffix sym) set(debug_info_keep --keep-file-symbols) - set(strip_args "--strip-debug -R.ident") + set(strip_args --strip-debug -R.ident) else() set(debug_info_suffix debug) set(debug_info_keep --only-keep-debug)