Skip to content

Commit

Permalink
fix list-src,doc,examples for >= 6.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteven4 committed Jan 10, 2025
1 parent 7917b2d commit ae478e5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions aqt/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,13 @@ def to_folder(self, version: Version, qt_version_no_dots: str, extension: Option
ext="_" + extension if extension else "",
)
else:
base = f"qt{version.major}_{qt_version_no_dots}"
return f"{base}/{base}"
# traditional structure, still used by sde.
return "{category}{major}_{ver}{ext}".format(
category=self.category,
major=qt_version_no_dots[0],
ver=qt_version_no_dots,
ext="_" + extension if extension else "",
)
elif version >= Version("6.5.0") and self.target == "wasm":
# Qt 6.5-6.7 WASM uses direct wasm_[single|multi]thread folder
if extension:
Expand Down

0 comments on commit ae478e5

Please sign in to comment.