Results 1 to 3 of 3

Thread: Is Python 2 still a must to build webengine?

  1. #1
    Join Date
    Sep 2009
    Location
    Surrey, BC, Canada
    Posts
    110
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Is Python 2 still a must to build webengine?

    [LIST]
    [*]Qt 5

    Qt Code:
    1. Note: Also available for Linux: linux-clang linux-icc
    2.  
    3. Note: The following modules are not being compiled in this configuration:
    4. webenginecore
    5. webengine
    6. webenginewidgets
    7. pdf
    8. pdfwidgets
    9.  
    10. WARNING: Python version 2 (2.7.5 or later) is required to build QtWebEngine.
    11.  
    12. WARNING: Python version 2 (2.7.5 or later) is required to build QtPdf.
    13.  
    14. WARNING: QtWebEngine will not be built.
    15.  
    16. WARNING: QtPdf will not be built.
    17.  
    18. Qt is now configured for building. Just run 'gmake'.
    19. Once everything is built, you must run 'gmake install'.
    20. Qt will be installed into '/opt/qt/5.15.11'.
    21.  
    22. Prior to reconfiguration, make sure you remove any leftovers from
    23. the previous build.
    To copy to clipboard, switch view to plain text mode 

    [*]Qt 6

    Qt Code:
    1. 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
    2. WARNING: SensorFW support currently not enabled with cmake
    3.  
    4. --
    5.  
    6. Qt is now configured for building. Just run 'cmake --build . --parallel'
    7.  
    8. Once everything is built, you must run 'cmake --install .'
    9. Qt will be installed into '/opt/qt/6.6.0'
    10.  
    11. To configure and build other Qt modules, you can use the following convenience script:
    12. /opt/qt/6.6.0/bin/qt-configure-module
    13.  
    14. If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory
    15. Alternatively, you can add the --fresh flag to your CMake flags.
    16.  
    17. -- Configuring done (104.2s)
    18. -- Generating done (3.8s)
    19. -- Build files have been written to: /opt/qt/qt-everywhere-src-6.6.0
    20. ```
    To copy to clipboard, switch view to plain text mode 


    This qtwebengine is seriously annoying...
    Welcome to Vision Open
    http://www.visionopen.com

  2. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    507
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Is Python 2 still a must to build webengine?

    Hi,

    in the first line "WARNING: QtWebEngine won't be built. Could not find all necessary libraries for qpa-xcb support..." it is complaining about XSHMFENCE:NO, so I think installing libxshmfence and the corresponding development package will help. This does not look like a problem with python to me.

    Ginsengelf

  3. #3
    Join Date
    Sep 2009
    Location
    Surrey, BC, Canada
    Posts
    110
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Is Python 2 still a must to build webengine?

    Hi, now XSHMFENCE is installed and the configuration result is updated to:

    Qt Code:
    1. 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:YES XTST:YES
    2. WARNING: SensorFW support currently not enabled with cmake
    3.  
    4. -- Configuring done (37.4s)
    5. -- Generating done (3.1s)
    6. CMake Warning:
    7. Manually-specified variables were not used by the project:
    8.  
    9. INPUT_cxx14
    10. INPUT_cxx17
    11.  
    12.  
    13. -- Build files have been written to: /opt/qt/qt-everywhere-src-6.6.0
    To copy to clipboard, switch view to plain text mode 
    Welcome to Vision Open
    http://www.visionopen.com

Similar Threads

  1. Qt 5.9.2 WebEngine build fails with Visual Studio 2017
    By gvanvoor in forum Installation and Deployment
    Replies: 0
    Last Post: 9th November 2017, 12:12
  2. Replies: 1
    Last Post: 30th January 2017, 11:42
  3. Custom build - webengine libraries not copied to installation
    By Thomas233 in forum Installation and Deployment
    Replies: 1
    Last Post: 17th December 2015, 12:04
  4. Embedding PyQt4 into an Application running Python via Boost::Python
    By GreyHound in forum Installation and Deployment
    Replies: 1
    Last Post: 6th February 2012, 06:48
  5. Replies: 0
    Last Post: 8th April 2011, 20:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.