1、从QT官网下载在线安装包 2、运行 ./qt-unified-windows-x64-X.X.X-online.run --mirror https://mirror.nju.edu.cn/qt 参考链接:使用国内镜像源在线安装QT(2024.3.23更新)_qt国内镜像-优快云博客