Deductions & credits

I appreciate your response. So if my daughter had $20k of unearned income but $4k of earned income, but spent $15k for her support and her total support was $20k, I can not claim her as a dependent, correct?  The question on turbo tax asked about half the support coming from earned income confused me, because I don't believe the determination of dependency matters if it is earned or unearned.  Maybe that question relates to something else?