France had lost 2-3 to Hungary in the group phase but got their revenge in a much tighter encounter, with Amine Gouiri scoring the only goal of the game in Zagreb.
France joined England, Germany, Spain and Turkey as five representatives from Europe for the prestigious tournament to be held in six Indian cities from October 6-28.
Iran, Iraq, Japan and North Korea, besides hosts India have qualified from Asia, while Brazil, Chile, Colombia and Paraguay have done so from South America.
The African qualifying tournament (May 14-28) has begun in Gabon.