Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unable to build qt5 - error in qtlocation
Qt 6.11 is out! See what's new in the release blog

Unable to build qt5 - error in qtlocation

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 470 Views
  • 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.
  • A Offline
    A Offline
    andro
    wrote on last edited by andro
    #1

    The qt5 build on Ubunto 20 fails in qtlocation:

    /u01/src/qt5/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp: In member function ‘void mbgl::BiDi::mergeParagraphLineBreaks(std::set<long unsigned int>&)’:
    /u01/src/qt5/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp:63:24: error: ‘runtime_error’ is not a member of ‘std’
    63 | throw std::runtime_error(std::string("ProcessedBiDiText::mergeParagraphLineBreaks: ") +
    | ^~~~~~~~~~~~~
    /u01/src/qt5/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp: In member function ‘std::vector<std::__cxx11::basic_string<char16_t> > mbgl::BiDi::processText(const u16string&, std::set<long unsigned int>)’:
    /u01/src/qt5/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp:98:20: error: ‘runtime_error’ is not a member of ‘std’
    98 | throw std::runtime_error(std::string("BiDi::processText: ") + u_errorName(errorCode));
    | ^~~~~~~~~~~~~
    /u01/src/qt5/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp: In member function ‘std::u16string mbgl::BiDi::getLine(std::size_t, std::size_t)’:
    /u01/src/qt5/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp:109:20: error: ‘runtime_error’ is not a member of ‘std’
    109 | throw std::runtime_error(std::string("BiDi::getLine (setLine): ") + u_errorName(errorCode));
    | ^~~~~~~~~~~~~
    /u01/src/qt5/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp:125:20: error: ‘runtime_error’ is not a member of ‘std’
    125 | throw std::runtime_error(std::string("BiDi::getLine (writeReordered): ") +
    | ^~~~~~~~~~~~~
    make[4]: *** [Makefile:3763: .obj/platform/default/bidi.o] Error 1

    std::runtime_error has been in C++ since c++11.

    Any assistance would be most helpful.

    [Newbie here - sorry, should be in Installation and Deployment.]

    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