Oops, I left out a couple of environment variables that are probably important, too. I don't know which one of these entries was the magic chicken, unfortunately.
Make changes as appropriate for your system:
Code:
QMAKE_INCDIR_QT=/usr/local/Trolltech/Qt-4.8.6/include
PATH=/usr/local/Trolltech/Qt-4.8.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
C_INCLUDE_PATH=/usr/local/Trolltech/Qt-4.8.6
CPLUS_INCLUDE_PATH=/usr/local/Trolltech/Qt-4.8.6
These were typed in manually, so I hope I don't have any typos.
NOTE:
As it turns out, these environment variables aren't needed to compile or run mythtv-0.27. Just use the configure stuff above.