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. Not able to build QtWebEngine (Qt 6.4.2) on Centos7 with devtoolset-10
Forum Updated to NodeBB v4.3 + New Features

Not able to build QtWebEngine (Qt 6.4.2) on Centos7 with devtoolset-10

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 182 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.
  • N Offline
    N Offline
    nitingera
    wrote on 12 Jun 2024, 21:17 last edited by
    #1

    I am trying to build QtWebengine (Qt 6.4.2) from source on CentOS7. I am using devtoolset-10 but the build fails with the error

    qt6/qtwebengine/src/3rdparty/chromium/base/allocator/partition_allocator/starscan/stats_collector.h:207:19: required from here
    /opt/rh/devtoolset-10/root/usr/include/c++/10/bits/basic_string.h:3150:57: error: no type named ‘size_type’ in ‘std::basic_string<char, std::char_traits<char>, partition_alloc::internal::MetadataAllocator<char> >::_CharT_alloc_type’ {aka ‘std::allocator_traits<partition_alloc::internal::MetadataAllocator<char> >::rebind_alloc<char>’}
    3150 | typedef typename _CharT_alloc_type::size_type size_type;

    /opt/rh/devtoolset-10/root/usr/include/c++/10/bits/basic_string.h:3151:61: error: no type named ‘difference_type’ in ‘std::basic_string<char, std::char_traits<char>, partition_alloc::internal::MetadataAllocator<char> >::_CharT_alloc_type’ {aka ‘std::allocator_traits<partition_alloc::internal::MetadataAllocator<char> >::rebind_alloc<char>’}
    3151 | typedef typename _CharT_alloc_type::difference_type difference_type;

    Any help or inputs are appreciated

    J 1 Reply Last reply 14 Jun 2024, 05:49
    0
    • N nitingera
      12 Jun 2024, 21:17

      I am trying to build QtWebengine (Qt 6.4.2) from source on CentOS7. I am using devtoolset-10 but the build fails with the error

      qt6/qtwebengine/src/3rdparty/chromium/base/allocator/partition_allocator/starscan/stats_collector.h:207:19: required from here
      /opt/rh/devtoolset-10/root/usr/include/c++/10/bits/basic_string.h:3150:57: error: no type named ‘size_type’ in ‘std::basic_string<char, std::char_traits<char>, partition_alloc::internal::MetadataAllocator<char> >::_CharT_alloc_type’ {aka ‘std::allocator_traits<partition_alloc::internal::MetadataAllocator<char> >::rebind_alloc<char>’}
      3150 | typedef typename _CharT_alloc_type::size_type size_type;

      /opt/rh/devtoolset-10/root/usr/include/c++/10/bits/basic_string.h:3151:61: error: no type named ‘difference_type’ in ‘std::basic_string<char, std::char_traits<char>, partition_alloc::internal::MetadataAllocator<char> >::_CharT_alloc_type’ {aka ‘std::allocator_traits<partition_alloc::internal::MetadataAllocator<char> >::rebind_alloc<char>’}
      3151 | typedef typename _CharT_alloc_type::difference_type difference_type;

      Any help or inputs are appreciated

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 14 Jun 2024, 05:49 last edited by
      #2

      @nitingera According to https://doc.qt.io/archives/qt-6.4/supported-platforms.html Qt 6.4 does not support Cenos7 (Red Hat 7).

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      1/2

      12 Jun 2024, 21:17

      • Login

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