[qtdeclarative] Cherry-pick stability fixes from upstream related to incubation