Closed xiaoyifang closed 2 years ago
seems only temporary ,closed
Hi.
Specified Qt version is unknown: 6.2.3.
I think this is not an error, but just a warning. Let's read the source code of aqtinstall.
aqtinstall/installer.py#L269-L270 at v2.0.0 · miurahr/aqtinstall:
if not self._check_qt_arg_versions(qt_version):
self.logger.warning("Specified Qt version is unknown: {}.".format(qt_version))
aqtinstall/installer.py#L130-L131 at v2.0.0 · miurahr/aqtinstall:
def _check_qt_arg_versions(self, version):
return version in Settings.available_versions
aqtinstall/helper.py#L259-L261 at v2.0.0 · miurahr/aqtinstall:
@property
def available_versions(self):
return self._combinations["versions"]
aqtinstall/helper.py#L226-L231 at v2.0.0 · miurahr/aqtinstall:
def load_settings(self, file=None):
with open(
os.path.join(os.path.dirname(__file__), "combinations.json"),
"r",
) as j:
self._combinations = json.load(j)[0]
aqtinstall/combinations.json#L812-L860 at v2.0.0 · miurahr/aqtinstall:
"versions": [
"6.2.0"
]
There is no "6.2.3", so that warning shows. The "combinations.json" file is just a manifest that is parsed from the Qt online repository. It will be updated by CI in miurahr/aqtinstall frequently, but all released versions of aqtinstall apparently would not receive any updates.
Hi @xiaoyifang , would you mind renaming this issue to the following?
install on windows failed. it succeed before. error: Specified Qt version is unknown
I think this may help other people to find the explanation I posted by searching the "Specified Qt version is unknown" sentence or words in it.
changed.
error