Added a little bit extra for Qt 4.

Bascially, there is a method in Qt 5 that isn't in Qt 4. It only affects the meta data, not the actual tests.