Qt5和MacPorts:缺少链接 [英] Qt5 and MacPorts: missing links

查看:118
本文介绍了Qt5和MacPorts:缺少链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道从MacPorts安装Qt5时是否也存在类似的问题".

I'm wondering if somebody has also a similar "problem" while installing Qt5 from MacPorts.

我昨天(在优胜美地上)安装了frech MacPorts发行版,并安装了端口qt5-macqt5-creator-mac.首先,我注意到(与我以前的经验相比),在/Applications/MacPorts文件夹中不再有指向Qt Creator的链接.另外,像qmake这样的工具也不再位于路径中(也就是说,没有链接到/opt/local/bin/opt/local/libexec/qt5-mac/bin中文件的链接).当然,这不是一个严重的问题.我只是想知道这是预期的行为还是可能的错误.

I've installed a frech MacPorts distribution yesterday (on Yosemite) and installed the ports qt5-mac and qt5-creator-mac. First, I have noticed that (compared with my previous experience) there is no longer a link to Qt Creator in the /Applications/MacPorts folder. In addition, the tools like qmake are no longer in the path (that is, there are no links to files from /opt/local/libexec/qt5-mac/bin in /opt/local/bin). Of course, it is not a serious problem; I'm just wondering if this is the indended behavior or a possible bug.

推荐答案

这是预期的行为.这是允许多个Qt版本共存的第一步.

This is intended behavior. It's a first step to allowing multiple Qt versions to coexist.

如果您希望从命令行使用特定的Qt版本,则需要将其二进制路径添加到您的路径中.

If you wish to use a particular Qt version from the command line, you need to add its binary path to your path.

这篇关于Qt5和MacPorts:缺少链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆