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

libClangFormat build fails without clang static libs

    XMLWordPrintable

Details

    • f74b31759867e8872bf151ac7dc8160ba31eeac1 (qt-creator/qt-creator/4.14)

    Description

      Commit 6cff79d377b4dc5e914873f008d3c6f1ec74ddf2 allows building qtcreator when only shared clang libs are available, but the ClangFormat plugin still has a hardcoded dependency on clangFormat, which breaks build if the static library is not present:

      [ 76%] Linking CXX shared library ../../../lib/qtcreator/plugins/libClangFormat.so
      
      /usr/bin/ld: cannot find -lclangFormat
      

      Attachments

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

        Activity

          People

            con Eike Ziller
            arojas Antonio Rojas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes