gpt4 book ai didi

qt - 如何使用 Homebrew 软件安装Qt4

转载 作者:行者123 更新时间:2023-12-04 13:24:52 26 4
gpt4 key购买 nike

我正在尝试安装LabelImg,但为了这样做,我需要先安装qt4,因为我使用的是python2。我找到的所有指南都告诉我要这样做

brew install qt qt4

但是我只是得到“错误:在水龙头中找不到公式”。我也试过了
brew install cartr/qt4/qt

但是当我去构建LabelImg时,我得到了
make: *** [qt4py2] Error 1

我使用的是最新版本的OSX,并且尝试了安装Qt的替代方法,看来它安装正确,但是我不能用它来做任何事情

最佳答案

This Homebrew tap allows you to install Qt4 (and various packages that depend on it) on macOS Sierra and newer. You can install it like this:

brew tap cartr/qt4
brew tap-pin cartr/qt4
brew install qt@4


Source

关于qt - 如何使用 Homebrew 软件安装Qt4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50442009/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com