Quebec will receive $4 billion for infrastructure projects under a new agreement signed with the federal government Wednesday afternoon.

Federal Transport Minister Lawrence Cannon and Heritage Minister Josée Verner signed the agreement with Quebec government officials in Quebec City days ahead of a probable federal election. The Conservative government has been busy in the past few days making a series of new spending announcements totalling millions of dollars

But Cannon denied the infrastructure money has anything to do with Canadians heading to the polls.

"This money is already authorized. It's budgeted money," he said.

Quebec Finance Minister Monique Jérôme-Forget said the money is welcome, given a slowdown in the province's economy this year.

"Our priority is probably roads, certainly; bridges, certainly; but also hospitals and schools," she said. "We have to spend on infrastructure. This is what governments are supposed to do when there's a slowdown."