Qt5 and MacPorts: missing links

↘锁芯ラ 提交于 2019-11-30 03:37:46

问题


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

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.


回答1:


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

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



来源:https://stackoverflow.com/questions/31315354/qt5-and-macports-missing-links

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!