Al-bābu is an accusative object in qad futiḥa al-bābu.

Qad: Expectation, Confirmation and Contextual Meanings