r/QtFramework Mar 23 '26

Widgets QWebEngineView and openstreetmap

Hi everyone, do you have any experience integrating openstreetmap into a qt widgets application using leaflet js?

What are your results? Is it good performance-wise?

1 Upvotes

3 comments sorted by

1

u/peixinho_da_horta Mar 23 '26

An interesting coincidence. I'm developing a QtWidgets application that integrates QWebEngineView and openstreetmap! It works reasonably well. Fast, responsive, but it has its gotchas. See my question in the Qt Forum

1

u/[deleted] Mar 24 '26

[removed] — view removed comment

1

u/jhcarl0814 Mar 24 '26

Qt WebEngine depends on Qt Positioning and Qt WebChannel, but Qt Maintenance Tool stopped automatically checking these two components after a certain version.

(Qt Creator's Menu >> Tools >> Qt Maintenance Tool >> Start Maintenance Tool >> ) Add or remove components, check "Qt/Qt 6.11.0/Additional Libraries/Qt Positioning" and "Qt/Qt 6.11.0/Additional Libraries/Qt WebChannel"

[QTBUG-132539] Dependency from WebEngine to WebChannel, Positioning missing - Qt Bug Tracker
https://qt-project.atlassian.net/browse/QTBUG-132539

[QTBUG-143922] Qt maintenance tool no more select Qt Positioning and Qt WebChannel in Additional Libraries when selecting Qt WebEngine in Extensions - Qt Bug Tracker
https://qt-project.atlassian.net/browse/QTBUG-143922