QBS:无法加载模块qt / core

时间:2013-11-01 19:19:52

标签: c++ linux qt package

尝试使用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-git)编译的qbs

Archlinux x64

1 个答案:

答案 0 :(得分:0)

您应该在.qbs文件中使用大写字母:

在依赖项中编写“Qt”
Depends { name: "Qt.core" }

或者用很少的依赖模块编写这种方式很方便:

Depends { name: "Qt"; submodules: ["core", "gui"] }