【问题标题】:QBS: Module qt/core could not be loadedQBS:模块 qt/core 无法加载
【发布时间】:2013-11-13 01:46:56
【问题描述】:

尝试用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.

qbs 编译自 aur (qbs-git)

Archlinux x64

【问题讨论】:

    标签: c++ linux qt package


    【解决方案1】:

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

    Depends { name: "Qt.core" }
    

    或者用很少的依赖模块这样写很方便:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-08
      • 2021-01-11
      • 2015-02-09
      • 1970-01-01
      • 2016-10-09
      • 2012-09-07
      相关资源
      最近更新 更多