Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
DidaHarp last edited by DidaHarp
Can't I use two QJsonDocument instances in one program? For example,I used "QJsonDocument doc1;" in this function,and I also want to use "QJsonDocument doc2;" in another function(Well , these two functions are in the same class that I defined.).
I tried to use two instances,but it returned me error as this:
ERROR: Caught a segmentation fault while loading plugin file:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
@DidaHarp Are you sure the error is related to
Joel Bodenmann last edited by Joel Bodenmann
@DidaHarp That issue is definitely not related to
QJsonDocument. You can use as many of them as you want.
I'd recommend you to fire up your debugger to see what really causes the crash that you're experiencing.
DidaHarp last edited by