1099-Q and 1098-T

I (parent) received a 1099-Q for my daughter's college education. My daughter is not a dependent on my return this year. The 1099-Q is in my name - not my daughter's. The 1098-T is in my daughter's name. I entered the 1099-Q on my return since it is in my name.

Since my daughter is not a dependent on my return for 2022, I cannot enter her 1098-T to prove the tuition that I paid to offset the tax that I may be paying on the earnings I made on the Qualified Education Program.

Is there a way to record this so I do not pay taxes on the earnings?

Thanks in advance.