PDA

View Full Version : Is Python 2 still a must to build webengine?



jiapei100
20th October 2023, 05:35
[LIST]

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...

Ginsengelf
20th October 2023, 08:09
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

jiapei100
21st October 2023, 00:39
Hi, now XSHMFENCE is installed and the configuration result is updated to:



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
WARNING: SensorFW support currently not enabled with cmake

-- Configuring done (37.4s)
-- Generating done (3.1s)
CMake Warning:
Manually-specified variables were not used by the project:

INPUT_cxx14
INPUT_cxx17


-- Build files have been written to: /opt/qt/qt-everywhere-src-6.6.0