Qt loads Baidu map to realize map browsing (1)

1. Function introduction

Use QWebEngineView in Qt to load Baidu map and provide map browsing function. Users can display Baidu Maps in Qt applications and use common map operations (such as zooming, panning, etc.) to interact.

QWebEngine is used to embed web content in Qt applications. Provides support for modern web technologies (such as HTML5, CSS3, JavaScript, etc.), and uses Google Chromium as the underlying browser engine to provide high-performance and stable web browsing experience.

The QWebEngine module provides developers with two main classes: QWebEngineView and QWebEnginePage.

image-20230627105150238

image-20230627105213162

image-20230627105347213

image-20230627105533619

Guess you like

Origin blog.csdn.net/xiaolong1126626497/article/details/131449724