Embed osm xml into qt with python
Unsolved
Qt for Python
-
@bidd
if you want to render the map of the osm xml file this wont work.
Qt has no parser and no renderer. it can only display already rendered tiles for each zoom level.
Also osm and osm-xml files are rather big and due to their internal structure and tons of information not needed for most viewing cases you will never get an acceptable perfomance by directly rendering them.you can pre-render the tiles. the osm wiki has alot of information how to do and what tools you can use.
for offline tiles you can read this: https://www.qt.io/blog/2017/05/24/qtlocation-using-offline-map-tiles-openstreetmap-plugin