qt5: ifdef two Q_DECLARE_METATYPE invocations out, for some reason they fail with Qt5