Mikkel Hansen, a defender who plays his club handball for Paris Saint-Germain, was again the key Danish player with seven goals.
Youssef Benali top-scored with nine goals for Qatar.
Qatar will take on Egypt in their next match.
The Spaniards defeated Fuchse Berlin in the final; Montpellier beat Al Sadd to finish third.
The German side will take on reigning champions Barca Lassa in the final on Friday.
The Qataris to take on German side Füchse Berlin; Barcelona play Montpellier in the other semis
Reigning champions Barcelona take on Al Najma and Montpellier play Sportive de Hammamet
Hassan Mohamed top-scored for Qatar with six goals
Qatar had beaten Bahrain 33-31 (16-17) at the 2018 Asian Championship final in Suwon, South Korea, management.
Qatar are defending champions at the multi-discipline continental competition, which begins in Indonesia from August 18.
Wakrah defeated Qatar Sports Club in the final
Hungary won the girls crown after they defeated Germany 30-17.
The World Schools Handball Championships is organised by Qatar School Sports Association.
The hosts need to beat Denmark in their final group match to have any chance of progressing to the knockout round
The hosts had defeated Morocco in their opening match