且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法运行 Qt 应用程序:未找到版本“Qt_5"

更新时间:2022-11-05 21:32:55

于是我根据前两个问题想出了一个答案:

So I figured out an answer according to these two previous questions:

总而言之,要以正确的方式添加库,应将自定义 .conf 文件添加到文件夹 /etc/ld.so.conf.d 中,其中包含库文件夹的所有绝对路径,然后运行 ​​sudo ldconfig.:)

To summarize, to add the libraries the right way, one should add a custom .conf file to the folder /etc/ld.so.conf.d containing all the absolute paths to library folders and then run sudo ldconfig. :)