如何通过自制软件安装 Qt 5.6.1-1?
How to install Qt 5.6.1-1 via homebrew?
当您 运行 brew install qt5
时,您将获得最新版本(现在是 5.7.0)。大约一周前,当我 运行 安装此命令版本 5.6.1-1 时。
现在我需要在另一台机器上重新安装这个5.6.1-1版本。我怎样才能通过 brew 做到这一点? (尽量避免编译时间过长)
A brew search qt5
未显示此先前版本:
$ brew search qt5
pyqt5 qt5 ✔
homebrew/versions/qt52 homebrew/versions/qt55
qt5
公式位于 here, in Github and by backtracking to a previous commit you can find a previous version of the formula. The 5.6.1-1 version can be found here.
因此,要使用 Homebrew 安装 Qt 5.6.1-1,您可以这样做:
curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/fdfc724dd532345f5c6cdf47dc43e99654e6a5fd/Formula/qt5.rb
brew install ./qt5.rb
brew 安装 qt@5
来自 https://formulae.brew.sh/formula/qt
的其他版本部分
当您 运行 brew install qt5
时,您将获得最新版本(现在是 5.7.0)。大约一周前,当我 运行 安装此命令版本 5.6.1-1 时。
现在我需要在另一台机器上重新安装这个5.6.1-1版本。我怎样才能通过 brew 做到这一点? (尽量避免编译时间过长)
A brew search qt5
未显示此先前版本:
$ brew search qt5
pyqt5 qt5 ✔
homebrew/versions/qt52 homebrew/versions/qt55
qt5
公式位于 here, in Github and by backtracking to a previous commit you can find a previous version of the formula. The 5.6.1-1 version can be found here.
因此,要使用 Homebrew 安装 Qt 5.6.1-1,您可以这样做:
curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/fdfc724dd532345f5c6cdf47dc43e99654e6a5fd/Formula/qt5.rb
brew install ./qt5.rb
brew 安装 qt@5 来自 https://formulae.brew.sh/formula/qt
的其他版本部分