If you enter the 1098-T first, the software will calculate an education credit and entries for the 1099-Q will then be calculated as income.
Please enter the 1099-Q first, next the education expenses, including the 1098-T.
Here is more on the subject:
https://ttlc.intuit.com/replies/5892705