Code "Q" is nontaxable combat pay. In TaxAct®, this is entered in Box 12 of Form W-2 Wage and Tax Statement.
To enter military wages reported on a W-2 (if you need help reporting Form W-2 in the TaxAct program, go to our Form W-2 - Entering in Program FAQ):