A must read for all is IRS Notice 2008-05
This notice fixes that by allowing one to treat those children as qualifying relatives (assumes all the other QR tests are met) as long as the parent or anyone with respect to whom the child is defined as a qualifying child, is not required to file a tax return and does not file an income tax return or merely files to obtain a refund of taxes withheld. The notice has examples.