QGIS/cmake_templates
Nyall Dawson 6572c9bd46 Add QGIS_PROTECT_QOBJECT_THREAD_ACCESS macro
Either shows a warning when a qobject function is accessed
from a thread which the object doesn't have affinity with,
OR causes a fatal error if the AGGRESSIVE_SAFE_MODE cmake flag
is set.

We should ensure this macro is present for all qobject methods
which may potentially be called from threads
2022-12-14 02:59:05 +10:00
..