From a0f8ab033925752bb29372365febf7b869ff902d Mon Sep 17 00:00:00 2001 From: ericLemanissier Date: Thu, 19 Jan 2023 11:03:06 +0100 Subject: [PATCH] [qt] fix: conanfile.py RuntimeError: OrderedDict mutated during iteration --- recipes/qt/6.x.x/conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/qt/6.x.x/conanfile.py b/recipes/qt/6.x.x/conanfile.py index a469306c3601c..5d14c217230f8 100644 --- a/recipes/qt/6.x.x/conanfile.py +++ b/recipes/qt/6.x.x/conanfile.py @@ -1310,7 +1310,7 @@ def _create_plugin(pluginname, libname, type, requires): _create_module("SerialPort") if self.options.get_safe("qtserialbus"): - _create_module("SerialBus", ["SerialPort"]) + _create_module("SerialBus", ["SerialPort"] if self.options.get_safe("qtserialport") else []) _create_plugin("PassThruCanBusPlugin", "qtpassthrucanbus", "canbus", []) _create_plugin("PeakCanBusPlugin", "qtpeakcanbus", "canbus", []) _create_plugin("SocketCanBusPlugin", "qtsocketcanbus", "canbus", [])