A quasiconformal composition problem for the Q-spaces