GO:0003952: NAD+ synthase (glutamine-hydrolyzing) activity
Catalysis of the reaction: ATP + deamido-NAD+ + L-glutamine + H2O = AMP + diphosphate + NAD+ + L-glutamate.