@@ -199,12 +199,13 @@ def get_semantic_version(qt_ver: str, is_preview: bool) -> Optional[Version]:
199
199
200
200
class ArchiveId :
201
201
CATEGORIES = ("tools" , "qt" )
202
- HOSTS = ("windows" , "mac" , "linux" , "linux_arm64" )
202
+ HOSTS = ("windows" , "mac" , "linux" , "linux_arm64" , "all_os" )
203
203
TARGETS_FOR_HOST = {
204
204
"windows" : ["android" , "desktop" , "winrt" ],
205
205
"mac" : ["android" , "desktop" , "ios" ],
206
206
"linux" : ["android" , "desktop" ],
207
207
"linux_arm64" : ["desktop" ],
208
+ "all_os" : ["qt" ],
208
209
}
209
210
EXTENSIONS_REQUIRED_ANDROID_QT6 = {"x86_64" , "x86" , "armv7" , "arm64_v8a" }
210
211
ALL_EXTENSIONS = {"" , "wasm" , "src_doc_examples" , * EXTENSIONS_REQUIRED_ANDROID_QT6 }
@@ -232,7 +233,7 @@ def is_tools(self) -> bool:
232
233
def to_url (self ) -> str :
233
234
return "online/qtsdkrepository/{os}{arch}/{target}/" .format (
234
235
os = self .host ,
235
- arch = ("_x86" if self .host == "windows" else ("" if self .host == "linux_arm64" else "_x64" )),
236
+ arch = ("_x86" if self .host == "windows" else ("" if self .host in ( "linux_arm64" , "all_os" ) else "_x64" )),
236
237
target = self .target ,
237
238
)
238
239
@@ -869,7 +870,7 @@ def matches_arch(element: Element) -> bool:
869
870
def fetch_modules_sde (self , cmd_type : str , version : Version ) -> List [str ]:
870
871
"""Returns list of modules for src/doc/examples"""
871
872
assert (
872
- cmd_type in ("doc" , "examples" ) and self .archive_id .target == "desktop"
873
+ cmd_type in ("doc" , "examples" ) and self .archive_id .target in ( "desktop" , "qt" )
873
874
), "Internal misuse of fetch_modules_sde"
874
875
qt_ver_str = self ._get_qt_version_str (version )
875
876
modules_meta = self ._fetch_module_metadata (self .archive_id .to_folder (qt_ver_str , "src_doc_examples" ))
@@ -886,7 +887,7 @@ def fetch_modules_sde(self, cmd_type: str, version: Version) -> List[str]:
886
887
def fetch_archives_sde (self , cmd_type : str , version : Version ) -> List [str ]:
887
888
"""Returns list of archives for src/doc/examples"""
888
889
assert (
889
- cmd_type in ("src" , "doc" , "examples" ) and self .archive_id .target == "desktop"
890
+ cmd_type in ("src" , "doc" , "examples" ) and self .archive_id .target in ( "desktop" , "qt" )
890
891
), "Internal misuse of fetch_archives_sde"
891
892
return self .fetch_archives (version , cmd_type , [], is_sde = True )
892
893
0 commit comments