The order in which you enter the forms affects the program calculation. The 1099-Q must be entered before the 1098-T, if it needs to be entered at all. In addition, the program may try to hold out money to qualify for education scholarships rather than allowing the 1099-Q.
Delegate 1099-Q expenses to room and board, then education expenses. If all of the money was spent on qualified expenses, don't enter the 1099-Q.
TT article Guide to IRS Form 1099-Q: Payments from Qualified Education Programs.