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

Unavailability to compile Clang Refactoring Engine for LLVM/Clang 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 4.9.0, Qt Creator 4.10.0, Qt Creator 4.11.0
    • Building Qt Creator
    • None
    • LLVM/Clang 10.0.0git built from source
    • Linux/X11

    Description

      It is impossible to compile Qt Creator using Clang 10.0.0git built from source due to several errors produced by files included in Clang refactoring engine. There are many function overrides are now considered wrong and some type mismatches.

      Now I found no workaround for this issue excepting turning off the whole building of Clang refactoring engine removing the following lines

      QTC_DISABLE_CLANG_REFACTORING=$$(QTC_DISABLE_CLANG_REFACTORING)
      isEmpty(QTC_DISABLE_CLANG_REFACTORING) {
       SUBDIRS += clangrefactoringbackend
       SUBDIRS += clangpchmanagerbackend
      }

      from src/tools/tools.pro and following

      QTC_DISABLE_CLANG_REFACTORING=$$(QTC_DISABLE_CLANG_REFACTORING)
      isEmpty(QTC_DISABLE_CLANG_REFACTORING) {
       SUBDIRS += clangrefactoring
       SUBDIRS += clangpchmanager
      }

      from src/plugins/plugins.pro. The attempts to set QTC_DISABLE_CLANG_REFACTORING variable to avoid the build brought no result.

      Attachments

        1. plugins.pro
          3 kB
        2. tools.pro
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            twdragon Andrei Vukolov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes