From d5ed0efd4a451904fd94a4ab12beb0768ea8c032 Mon Sep 17 00:00:00 2001 From: alfiTH Date: Mon, 3 Nov 2025 10:55:07 +0100 Subject: [PATCH 1/2] fixed bug with topic reference when it subscribe --- .../templateCPP/plugins/base/functions/generated/main_cpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/robocompdsl/robocompdsl/templates/templateCPP/plugins/base/functions/generated/main_cpp.py b/cli/robocompdsl/robocompdsl/templates/templateCPP/plugins/base/functions/generated/main_cpp.py index e28f4f25a..ccd01a506 100644 --- a/cli/robocompdsl/robocompdsl/templates/templateCPP/plugins/base/functions/generated/main_cpp.py +++ b/cli/robocompdsl/robocompdsl/templates/templateCPP/plugins/base/functions/generated/main_cpp.py @@ -110,7 +110,7 @@ const std::string& topicBaseName, SpecificWorker* worker, int index, - std::shared_ptr topic, + std::shared_ptr& topic, Ice::ObjectPrxPtr& proxy, const std::string& programName) { From 25a3ea6e695b9209bfeedc9a8e805c1a6256c795 Mon Sep 17 00:00:00 2001 From: alfiTH Date: Mon, 3 Nov 2025 10:56:13 +0100 Subject: [PATCH 2/2] fixed bug with QT GUI --- .../plugins/gui/functions/generated/genericworker_h.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/robocompdsl/robocompdsl/templates/templateCPP/plugins/gui/functions/generated/genericworker_h.py b/cli/robocompdsl/robocompdsl/templates/templateCPP/plugins/gui/functions/generated/genericworker_h.py index 83a11b29c..6991b1820 100644 --- a/cli/robocompdsl/robocompdsl/templates/templateCPP/plugins/gui/functions/generated/genericworker_h.py +++ b/cli/robocompdsl/robocompdsl/templates/templateCPP/plugins/gui/functions/generated/genericworker_h.py @@ -7,6 +7,7 @@ #include #endif #include +#define USE_QTGUI\n """