diff --git a/aqt/combinations.json b/aqt/combinations.json index 27d0e994..e3d7ef64 100644 --- a/aqt/combinations.json +++ b/aqt/combinations.json @@ -546,6 +546,12 @@ } ], "tools": [ + { + "arch": "qt.tools.qtcreator", + "os_name": "linux", + "target": "desktop", + "tool_name": "sdktool" + }, { "arch": "qt.tools.cmake", "os_name": "linux", @@ -684,6 +690,12 @@ "target": "desktop", "tool_name": "tools_telemetry_gui" }, + { + "arch": "qt.tools.qtcreator", + "os_name": "mac", + "target": "desktop", + "tool_name": "sdktool" + }, { "arch": "qt.tools.cmake", "os_name": "mac", @@ -792,6 +804,12 @@ "target": "desktop", "tool_name": "tools_telemetry_gui" }, + { + "arch": "qt.tools.qtcreator", + "os_name": "windows", + "target": "desktop", + "tool_name": "sdktool" + }, { "arch": "qt.tools.cmake", "os_name": "windows", diff --git a/aqt/metadata.py b/aqt/metadata.py index b4f32e44..64a98b21 100644 --- a/aqt/metadata.py +++ b/aqt/metadata.py @@ -543,7 +543,10 @@ def __init__( if archive_id.is_tools(): if tool_name is not None: - _tool_name: str = "tools_" + tool_name if not tool_name.startswith("tools_") else tool_name + if not tool_name.startswith("tools_") and tool_name != "sdktool": + _tool_name = f"tools_{tool_name}" + else: + _tool_name = tool_name if is_long_listing: self.request_type = "tool long listing" self._action: MetadataFactory.Action = lambda: self.fetch_tool_long_listing(_tool_name) @@ -733,6 +736,8 @@ def link_to_folder(link: bs4.element.Tag) -> str: continue if folder.startswith(filter_category): yield folder + if filter_category == "tools" and folder == "sdktool": + yield folder except Exception as e: raise ArchiveConnectionError( f"Failed to retrieve the expected HTML page at {html_url}",