diff --git a/conanfile.py b/conanfile.py index 531fa59f3b..a75c31dd22 100644 --- a/conanfile.py +++ b/conanfile.py @@ -460,6 +460,13 @@ class QtBase(ConanFile): for item in rm_list: if item in self.info.options: delattr(self.info.options, item) + # filter also those cmake options that should not end up in the package_id + if hasattr(self.info.options, "cmake_args_qtbase"): + _filter = self.python_requires[ + "qt-conan-common" + ].module.filter_cmake_args_for_package_id + + self.info.options.cmake_args_qtbase = _filter(self.info.options.cmake_args_qtbase) def deploy(self): self.copy("*") # copy from current package