The IRS has different definitions of the term "Qualified Education Expenses" depending on which tax incentive is being considered. The definition you link to has to do with education credits and deductions, which does not include Qualified Tuition Programs, also known as 529 plans. Room and board for students enrolled at least half-time is a Qualified Higher Education Expense for 529 plans. See Chapter 7 of IRS Pub 970:
https://www.irs.gov/pub/irs-pdf/p970.pdf