It's apparently a compiler bug and it's being investigated in a Qt bug report: https://bugreports.qt-project.org/browse/QTBUG-34499