Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Errors building Qt from sources under Linux.
Forum Updated to NodeBB v4.3 + New Features

Errors building Qt from sources under Linux.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qt6compilesource code
1 Posts 1 Posters 219 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Konstantin FominK Offline
    Konstantin FominK Offline
    Konstantin Fomin
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved