osmbuildings: Implement proper shutdown


Prevent a threading crash noticed in Qt for Python by
stopping the signal emission and waiting for the threads
in the global pool to terminate.

Change the window to be an ApplicationWindow and add
a quit shortcut.

Pick-to: 6.12 6.11 6.8
Change-Id: I4cb70cfa6891be8a0d081ac4b8f42e1695d7ff78
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
commit0b3c0465f968f95176919092e72ef9ce50de13be
parent40c3311c08acfac8da0390546a71f779c5784b13
authorFriedemann Kleint <Friedemann.Kleint@qt.io>
committerFriedemann Kleint <Friedemann.Kleint@qt.io>
commit timeThu, 9 Jul 2026 09:00:16 +0000