尝试使用qbs收集qutim 0.3.2(qt5)项目(https://github.com/euroelessar/qutim):

[22:30:49][anton@arch-Laptop: qutim]$ qbs build profile:qt5
No build graph exists yet for this configuration.
Resolving project for configuration qt5-debug
ERROR: /home/anton/qutim/core/3rdparty/k8json/k8json.qbs:8:5 Module qt/core could not be loaded.

从aur编译的qbs(qbs-git)

Archlinux x64

最佳答案

您应该在.qbs文件的依赖项中用大写字母写“Qt”:

Depends { name: "Qt.core" }

或者用很少的依赖模块来写这种方式也很方便:
Depends { name: "Qt"; submodules: ["core", "gui"] }

关于c++ - QBS:无法加载模块qt/core,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19733884/

10-10 01:52