Per IRS Publication 17 Your Federal Income Tax (For Individuals), page 29:
Support Test (To Be a Qualifying Child)
To meet this test, the child can't have provided more than half of his or her own support for the year.
This test is different from the support test to be a qualifying relative, which is described later. However, to see what is or isn't support, see Support Test (To Be a Qualifying Relative), later. If you aren't sure whether a child provided more than half of his or her own support, you may find Worksheet 3-1 (page 30) helpful.
Page 29: Scholarships. A scholarship received by a child who is a student isn't taken into account in determining whether the child provided more than half of his or her own support.