From 892d043af0d3a3650efe7c7b73fd3e429d00681f Mon Sep 17 00:00:00 2001 From: Ashley Brighthope Date: Tue, 1 Oct 2024 15:16:32 +1000 Subject: [PATCH] Force qwt to use given version of Qt --- recipes/qwt/all/conanfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/qwt/all/conanfile.py b/recipes/qwt/all/conanfile.py index e8a240189ee17b..5a6b76d4f15011 100644 --- a/recipes/qwt/all/conanfile.py +++ b/recipes/qwt/all/conanfile.py @@ -93,6 +93,7 @@ def generate(self): VirtualRunEnv(self).generate(scope="build") tc = CMakeToolchain(self) + tc.variables["QWT_QT_VERSION_MAJOR"] = Version(self.dependencies["qt"].ref.version).major tc.variables["QWT_DLL"] = self.options.shared tc.variables["QWT_STATIC"] = not self.options.shared tc.variables["QWT_PLOT"] = self.options.plot