Normally, you have to enter the expenses later in the 1098-T section.
But, here's quicker & easier workaround in TurboTax:
Enter the 1099-Q. When asked who the student is answer: someone else not listed here (lying to TurboTax to get it to do what you want does not constitute lying to the IRS). Enter the student's name when asked. A few screens later, you'll get one simple screen to enter expenses. Press Done at the 1099-Q summary screen, to get there. Also enter the amount of the scholarship in the box "Tax-free assistance". This reports the earnings as taxable and claims the scholarship exception. You do not have to deal with the complicated “Educational expenses and Scholarships” (1098-T) section later.