As of Qt 5.12, this issue is still present. It seems that Qt simply does not support xsl:for-each-group
. That was also the result of a 2013 blog post where somebody analyzed this issue.
There are some limited ways to achieve the same functionality without xsl:for-each-group
, see here. But this did not work for me due to a bug in Qt's XSLT variable binding. Finally I resorted to avoid even a xsl:for-each
loop because the order and identity of the groups was known initially. See my code.
tl;dr: Unfortunately Qt XSLT is barely useful as of Qt 5.12; like they say, the implementation is "experimental". And it seems there was very little work done on it since 2013.