make xconfig时,出现“Unable to find any QT installation"错误

在make menuconfig的时候,提示是找不到libncurses,最后其实是找不到libncurses-dev,又因为debian系统装的是libncurses5,所以装了libncurses5-dev。

然后手痒痒想看看xconfig长什么样子。。。但是,出现了“Unable to find any QT installation”这个错误。

找了半天,大家的意思是,没有装qt的devtool,所以,都是建议安装qt3-dev,或者qt4-dev。。。可是,明明这些都有的,刚刚还有写了个QT的小程序。so。。。最后,在stack flow上看到有人问,你的pkg-config是什么版本?纳尼,原来还和这个有关系?所以,赶紧的安装贫pkg-config(因为apt-get install的时候,是要看软件是不是最新版本)看看:

sudo apt-get install pkg-config

居然压根就没有安装?装好就没有问题了。。。

原文地址:https://www.cnblogs.com/pied/p/4036421.html