Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29537

Fails to build with new yaml-cpp

    XMLWordPrintable

Details

    • Linux/X11
    • 170f9acfb (11.0)

    Description

      Seems that Creator (at least 10.0.1) fails to build with yaml-cpp >= 0.8

      Little excerpt:

      {{CMake Error at cmake/Findyaml-cpp.cmake:18 (set_target_properties):
      set_target_properties Can not find target to add properties to: yaml-cpp
      Call Stack (most recent call first):
      src/plugins/clangtools/CMakeLists.txt:1 (find_package)

      qml/bindingloops_qt6.frag -> bindingloops_qt6.frag.qsb exposed as :/qt/qml/QtCreator/QmlProfiler/bindingloops_qt6.frag.qsb
      qml/bindingloops_qt6.vert -> bindingloops_qt6.vert.qsb exposed as :/qt/qml/QtCreator/QmlProfiler/bindingloops_qt6.vert.qsb
      }}

      The full build log seems available at https://dpaste.com/ECK9HT553 but I don't know for how long (I did not build it).

      A quick work around seems to be to remove cmake/Findyaml-cpp.cmake prior to building as per https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050367

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-29537
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            lisandropm Lisandro Damián Nicanor Pérez Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes