What I didn't realize was that this isn't supported for Qt 4.8. I thought "templates are templates" and since Qt already uses them for lists and vectors this shouldn't be a problem. However, Roland pointed out that the template support I want doesn't work with Qt 4.8 (
http://doc.qt.io/archives/qt-4.8/templates.html). I know there has been talk of dropping support for Qt 4, but I'm not sure where that's at. I thought there was enough stuff already in place that would mean Qt 4 support would be dropped for 2.6 release, but I thought I'd send a note here before committing
https://code.wireshark.org/review/24988