libosmscout now supports Qt


Libosmscout now supports Qt. Now you can use MapPainterQt instead MapPainterCairo to draw maps into a QPainter.

I also added OSMScout, a simple Qt application that mimics parts of TravelJinni (the libillumination/cairo counterpart). It not yet has all the features TravelJinni has, but already shows how map integration should be done in Qt.

Below is a screenshot of OSMScout

Screenshot of the OSMScout application

Screenshot of the OSMScout application

…and the same area as display by TravelJinni:

Screenshot of the TravelJinni application

Screenshot of the TravelJinni application

While visually both maps look very similar (small differences in text rendering) the are performance differences. While Qt claims to be fast, cairo in fact is faster for simple image surfaces (under X11). Judging from Google investigation using a OpenGl painter should burst Qt performance – but this has yet to be tested (and new version of cairo support OpenGl, too).

Advertisements