Save the contents of QGraphicsscence and QGraphicsView
I am using QGraphicsscence in my tool and QGraphicsView to display it Can I save the contents of the same in text format or any other format that can be used for regressions.
You must program it your self for save and loading.
Depending on how many different objects you have, it might be lots of work.
Why not just create a test function that create the same scene each time?
For regressions testing
yes I understand.
Instead of loading a scene, you just construct it from code.
much less work than being able to load and save to a file format.