Merge "Call Layer::getLayerDebugInfo from the main thread" into qt-dev