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. Is Python 2 still a must to build webengine?
Forum Update on Monday, May 27th 2025

Is Python 2 still a must to build webengine?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 595 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.
  • J Offline
    J Offline
    jiapei100
    wrote on 20 Oct 2023, 04:24 last edited by
    #1
    • Qt 5
    Note: Also available for Linux: linux-clang linux-icc
    
    Note: The following modules are not being compiled in this configuration:
        webenginecore
        webengine
        webenginewidgets
        pdf
        pdfwidgets
    
    WARNING: Python version 2 (2.7.5 or later) is required to build QtWebEngine.
    
    WARNING: Python version 2 (2.7.5 or later) is required to build QtPdf.
    
    WARNING: QtWebEngine will not be built.
    
    WARNING: QtPdf will not be built.
    
    Qt is now configured for building. Just run 'gmake'.
    Once everything is built, you must run 'gmake install'.
    Qt will be installed into '/opt/qt/5.15.11'.
    
    Prior to reconfiguration, make sure you remove any leftovers from
    the previous build.
    
    • Qt 6
    WARNING: QtWebEngine won't be built. Could not find all necessary libraries for qpa-xcb support. X11:YES LIBDRM:YES XCOMPOSITE:YES XCURSOR:YES XRANDR:YES XI:YES XPROTO:YES XSHMFENCE:NO XTST:YES
    WARNING: SensorFW support currently not enabled with cmake
    
    -- 
    
    Qt is now configured for building. Just run 'cmake --build . --parallel'
    
    Once everything is built, you must run 'cmake --install .'
    Qt will be installed into '/opt/qt/6.6.0'
    
    To configure and build other Qt modules, you can use the following convenience script:
            /opt/qt/6.6.0/bin/qt-configure-module
    
    If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory
    Alternatively, you can add the --fresh flag to your CMake flags.
    
    -- Configuring done (104.2s)
    -- Generating done (3.8s)
    -- Build files have been written to: /opt/qt/qt-everywhere-src-6.6.0
    

    This qtwebengine is seriously annoying...

    Welcome to Longer Vision
    https://www.longervision.com

    C 1 Reply Last reply 20 Oct 2023, 05:19
    0
    • J jiapei100 referenced this topic on 20 Oct 2023, 04:27
    • J jiapei100
      20 Oct 2023, 04:24
      • Qt 5
      Note: Also available for Linux: linux-clang linux-icc
      
      Note: The following modules are not being compiled in this configuration:
          webenginecore
          webengine
          webenginewidgets
          pdf
          pdfwidgets
      
      WARNING: Python version 2 (2.7.5 or later) is required to build QtWebEngine.
      
      WARNING: Python version 2 (2.7.5 or later) is required to build QtPdf.
      
      WARNING: QtWebEngine will not be built.
      
      WARNING: QtPdf will not be built.
      
      Qt is now configured for building. Just run 'gmake'.
      Once everything is built, you must run 'gmake install'.
      Qt will be installed into '/opt/qt/5.15.11'.
      
      Prior to reconfiguration, make sure you remove any leftovers from
      the previous build.
      
      • Qt 6
      WARNING: QtWebEngine won't be built. Could not find all necessary libraries for qpa-xcb support. X11:YES LIBDRM:YES XCOMPOSITE:YES XCURSOR:YES XRANDR:YES XI:YES XPROTO:YES XSHMFENCE:NO XTST:YES
      WARNING: SensorFW support currently not enabled with cmake
      
      -- 
      
      Qt is now configured for building. Just run 'cmake --build . --parallel'
      
      Once everything is built, you must run 'cmake --install .'
      Qt will be installed into '/opt/qt/6.6.0'
      
      To configure and build other Qt modules, you can use the following convenience script:
              /opt/qt/6.6.0/bin/qt-configure-module
      
      If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory
      Alternatively, you can add the --fresh flag to your CMake flags.
      
      -- Configuring done (104.2s)
      -- Generating done (3.8s)
      -- Build files have been written to: /opt/qt/qt-everywhere-src-6.6.0
      

      This qtwebengine is seriously annoying...

      C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 20 Oct 2023, 05:19 last edited by
      #2

      @jiapei100 said in Is Python 2 still a must to build webengine?:

      XSHMFENCE:NO

      So install this dependency - don't see what this has to do with python though.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1

      1/2

      20 Oct 2023, 04:24

      • 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