You enter the 1099-Q and then do not enter any educational expenses. Do not enter a 1098-T.
Only the earnings portion of the distribution is taxable and subject to the penalty. If box 2 of the 1099-Q is zero or negative, there will be no tax or penalty. In that case you do not even need to enter the 1099-Q. When nothing is taxable, TurboTax enters nothing, about the 1099-Q, on the actual tax forms.