Skip to content

Commit

Permalink
Merge branch 'qt662' into meta_qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier committed Feb 21, 2024
2 parents 79c6f2b + e0498ab commit 41876ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/qt/6.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,10 @@ def source(self):
# use official variable name https://cmake.org/cmake/help/latest/module/FindFontconfig.html
replace_in_file(self, os.path.join(self.source_folder, "qtbase", "src", "gui", "configure.cmake"), "FONTCONFIG_FOUND", "Fontconfig_FOUND")

replace_in_file(self, os.path.join(self.source_folder, "qtbase", "cmake", "QtAutoDetect.cmake"), "qt_auto_detect_vcpkg()", "# qt_auto_detect_vcpkg()")
replace_in_file(self,
os.path.join(self.source_folder, "qtbase", "cmake", "QtAutoDetect.cmake" if Version(self.version) < "6.6.2" else "QtAutoDetectHelpers.cmake"),
"qt_auto_detect_vcpkg()",
"# qt_auto_detect_vcpkg()")

def _xplatform(self):
if self.settings.os == "Linux":
Expand Down

0 comments on commit 41876ae

Please sign in to comment.