Skip to content

How to use Qt WebEngine view with Qgis2threejs

Minoru Akagi edited this page Oct 22, 2024 · 2 revisions

In QGIS 3.36 or a later version, Qt WebEngine view, which is based on Chromium browser, can be used with Qgis2threejs plugin.

If PyQt-WebEngine is not installed, you will need to install it.

Install PyQt-WebEngine

In case of OSGeo4W Installer

  1. Select Advanced Install.
  2. In Select Packages screen, find python3-pyqtwebengine package and click the "skip" text to choose the latest package version.
  3. Click the Next button, then install the package.

In case of OSGeo4W Shell

pip install PyQtWebEngine

In case of Debian/Ubuntu

sudo apt install python3-pyqt5.qtwebengine

Note

  • If PyQt-WebEngine is available, a new item named "Qgis2threejs Exporter (WebEngine)" will be added to Qgis2threejs sub-menu under the Web menu.
  • In Qgis2threejs version 2.8, if PyQt-WebEngine is available, clicking the Qgis2threejs icon in the toolbar will launch the exporter using WebEngine view. However, after you launch the exporter by selecting "Qgis2threejs Exporter (WebKit)" from the menu, the last-used web view will be used.