【问题标题】:Add Qt 5.14.2 with conan package manager using conanfile.txt and bintray as repo only仅使用 conanfile.txt 和 bintray 将 Qt 5.14.2 与 conan 包管理器添加为 repo
【发布时间】:2020-10-07 17:46:55
【问题描述】:

我需要使用https://bintray.com/bincrafters/public-conan/ 安装 Qt 版本 5.14.2 作为唯一的授权存储库,我在以下地址的 repo 上找到了版本,https://bintray.com/bincrafters/public-conan/qt%3Abincrafters/5.14.2%3Astable

这是我的 conanfile.txt:

[requires]
Qt/5.14.2@bincrafters/stable
portaudio/v190600.20161030@bincrafters/stable
opus/1.3.1@bincrafters/stable

[generators]
cmake

我还使用以下命令添加了 bintray 存储库:

柯南远程添加bintrayhttps://api.bintray.com/conan/bincrafters/public-conan

但是当我安装柯南时找不到包:

Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++
compiler.version=10
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

Qt/5.14.2@bincrafters/stable: Not found in local cache, looking in remotes...
Qt/5.14.2@bincrafters/stable: Trying with 'conan-center'...
Qt/5.14.2@bincrafters/stable: Trying with 'bintray'...
ERROR: Unable to find 'Qt/5.14.2@bincrafters/stable' in remotes

【问题讨论】:

    标签: qt conan


    【解决方案1】:

    柯南包是小写的,所以你需要在你的conanfile.txt文件中写qt/5.14.2@bincrafters/stable。

    当我尝试按照您的说明安装软件包时,我得到:

    ERROR: Requested 'Qt/5.14.2@bincrafters/stable' but found case incompatible 'qt'
    Case insensitive filesystem can't manage this
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-01-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多