There are multiple IRS definitions of QEE depending on which particular tax incentive or program you are talking about.
Are you getting that definition of QEE in yout post #4 from an IRS source? If you can provide a link to the source, we can get on the same page.