diff --git a/recipes/qwt/all/test_v1_package/conanfile.py b/recipes/qwt/all/test_v1_package/conanfile.py index 38f4483872d47f..c94e40056654ad 100644 --- a/recipes/qwt/all/test_v1_package/conanfile.py +++ b/recipes/qwt/all/test_v1_package/conanfile.py @@ -8,6 +8,7 @@ class TestPackageConan(ConanFile): def build(self): cmake = CMake(self) + cmake.definitions["QT_VERSION"] = self.dependencies["qt"].ref.version cmake.configure() cmake.build()