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

Error build QtCreator from git with cmake

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: Qt Creator 4.13.2
    • Fix Version/s: None
    • Component/s: Building Qt Creator
    • Labels:
      None
    • Environment:
      CentOS 8.2.2004
      gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
      QT 5.15.1
    • Platform/s:
      Linux/X11

      Description

      Build from commit 2ee1af2032e369ec28afcf5a2cb841b89963e604

      [ 44%] Building CXX object src/plugins/clangformat/CMakeFiles/ClangFormat.dir/clangformatutils.cpp.o
      cc1plus: warning: /devops/SOFT/CSCI/build/Linux/x86_64/CSCI_QTCREATOR/master/QtCreator/QtCreator-master/debug/src/libs/3rdparty/syntax-highlighting/CMakeFiles/QtCreatorPchGui.dir/cmake_pch.hxx.gch: had text segment at different address
      /devops/SOFT/CSCI/CSCI_QTCREATOR/master/src/qt-creator/qt-creator.git/src/plugins/clangformat/clangformatutils.cpp: Dans la fonction « clang::format::FormatStyle ClangFormat::qtcStyle() »:
      /devops/SOFT/CSCI/CSCI_QTCREATOR/master/src/qt-creator/qt-creator.git/src/plugins/clangformat/clangformatutils.cpp:58:40: error: « OAS_Align » n'est pas un membre de « clang::format::FormatStyle »
      style.AlignOperands = FormatStyle::OAS_Align;
      ^~~~~~~~~
      make[2]: *** [src/plugins/clangformat/CMakeFiles/ClangFormat.dir/build.make:174: src/plugins/clangformat/CMakeFiles/ClangFormat.dir/clangformatutils.cpp.o] Error 1
      make[1]: *** [CMakeFiles/Makefile2:10092: src/plugins/clangformat/CMakeFiles/ClangFormat.dir/all] Error 2
      make: *** [Makefile:149: all] Error 2
      [Error] Error build QtCreator

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            phfr83 phfr83
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes