Errors building Qt from sources under Linux.
Unsolved
Installation and Deployment
-
I'm trying to build version 6.4.0 under Fedora Linux 37.
The following errors occur during compilation:In file included from /home/***/Development/Qt/Static/6.4.0/Src/qttools/src/linguist/lupdate/lupdatepreprocessoraction.cpp:4: /home/***/Development/Qt/Static/6.4.0/Src/qttools/src/linguist/lupdate/lupdatepreprocessoraction.h:52:10: ошибка: «void LupdatePPCallbacks::InclusionDirective(clang::SourceLocation, const clang::Token&, llvm::StringRef, bool, clang::CharSourceRange, const clang::FileEntry*, llvm::StringRef, llvm::StringRef, const clang::Module*, clang::SrcMgr::CharacteristicKind)» помечен «override», но не делается override 52 | void InclusionDirective(clang::SourceLocation /*hashLoc*/, const clang::Token &/*includeTok*/, | ^~~~~~~~~~~~~~~~~~ In file included from /home/***/Development/Qt/Static/6.4.0/Src/qttools/src/linguist/lupdate/cpp_clang.cpp:7: /home/***/Development/Qt/Static/6.4.0/Src/qttools/src/linguist/lupdate/lupdatepreprocessoraction.h:52:10: ошибка: «void LupdatePPCallbacks::InclusionDirective(clang::SourceLocation, const clang::Token&, llvm::StringRef, bool, clang::CharSourceRange, const clang::FileEntry*, llvm::StringRef, llvm::StringRef, const clang::Module*, clang::SrcMgr::CharacteristicKind)» помечен «override», но не делается override 52 | void InclusionDirective(clang::SourceLocation /*hashLoc*/, const clang::Token &/*includeTok*/, | ^~~~~~~~~~~~~~~~~~ [ 42%] Building CXX object qttools/src/qdoc/CMakeFiles/qdoc.dir/htmlgenerator.cpp.o gmake[2]: *** [qttools/src/linguist/lupdate/CMakeFiles/lupdate.dir/build.make:412: qttools/src/linguist/lupdate/CMakeFiles/lupdate.dir/lupdatepreprocessoraction.cpp.o] Error 1
and
[ 42%] Building CXX object qttools/src/qdoc/CMakeFiles/qdoc.dir/location.cpp.o [ 42%] Building CXX object qttools/src/qdoc/CMakeFiles/qdoc.dir/main.cpp.o gmake[2]: *** [qttools/src/linguist/lupdate/CMakeFiles/lupdate.dir/build.make:384: qttools/src/linguist/lupdate/CMakeFiles/lupdate.dir/cpp_clang.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:65283: qttools/src/linguist/lupdate/CMakeFiles/lupdate.dir/all] Error 2
How to solve this problem?