- changed status to resolved
QDomDocument produces random attribute order
Issue #666
resolved
This is very well known problem. Because since Qt5 QDomDocument uses QHash attributes inside of XML has different order each time we save file. We managed to disable this behaviour by turn off hash seed, but this works only for local run. Sharing files between machines still doesn't work.
The solution could be to use QXmlStreamWriter class instead. But this will require full rewrite.
Comments (4)
-
reporter -
Thx for the quick response dismine ;)
-
reporter Because i also need this feature.
-
Hehe great
- Log in to comment
Resolved issue
#666. QDomDocument produces random attribute order.→ <<cset 1eba7b359ed6>>