A slow-moving trough bringing wet weather to much of Queensland is set to deepen on Thursday sparking heavy rainfall and possible flash flooding.