[software development] 玲珑容器中编译qt6找不到pkg-config
Tofloor
poster avatar
136******06
deepin
2025-03-20 16:31
Author

我在使用玲珑容器编译QT6时,报了下面的错误

Feature "pkg_config": Forcing to "ON" breaks its condition:

  PKG_CONFIG_FOUND

Condition values dump:

  PKG_CONFIG_FOUND = "FALSE"

但是pkg-config是安装了的
图片.png

请问这里该怎么让cmake识别到呢?

Reply Favorite View the author
All Replies
136******06
deepin
2025-03-20 17:23
#1

补充一下,本地编译是没问题的,只有在玲珑容器里会出现这个问题

Reply View the author
神末shenmo
deepin
Spark-App
Solutions Team Moderator
2025-03-21 01:21
#2

用ll-killer应该可行,详情论坛查一下

Reply View the author
136******06
deepin
2025-03-21 09:35
#3
神末shenmo

用ll-killer应该可行,详情论坛查一下

好的,感谢,我去试试

Reply View the author