Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-135372

qttools: do configure failed when using LLVM version 20.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.10
    • Yocto: meta-qt6 layer
    • None

    Description

      $ git clone --branch master git://git.yoctoproject.org/poky
      $ git clone --branch dev git://code.qt.io/yocto/meta-qt6.git
      $ git clone https://github.com/kraj/meta-clang.git
      $  source poky/oe-init-build-env ./build-qt
      $  bitbake-layers add-layer ../meta-openembedded/meta-oe
      $  bitbake-layers add-layer ../meta-openembedded/meta-python
      $  bitbake-layers add-layer ../meta-openembedded/meta-multimedia
      $  bitbake-layers add-layer ../meta-clang
      $  bitbake-layers add-layer ../meta-qt6
      

      then build qttool with LLVM20.x, the qttools will do configuration failed as:

      |WARNING: QDoc will not be compiled because it requires libclang 17 or newer.|
      
      |ERROR: Feature "clang": Forcing to "ON" breaks its condition:|
      |TEST_libclang|
      |Condition values dump:|
      |TEST_libclang = ""|
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sapiippo Samuli Piippo
            pengzh Peng Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes