Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QJsonDocument error!!!
Forum Updated to NodeBB v4.3 + New Features

QJsonDocument error!!!

Scheduled Pinned Locked Moved General and Desktop
qt5.4json parser
4 Posts 3 Posters 1.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DidaHarp
    wrote on last edited by DidaHarp
    #1

    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:
    /usr/lib/gstreamer-0.10/libgstaudioconvert.so

    Please either:

    • remove it and restart.
    • run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
      程序异常结束。
    p3c0P 1 Reply Last reply
    0
    • D 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:
      /usr/lib/gstreamer-0.10/libgstaudioconvert.so

      Please either:

      • remove it and restart.
      • run with --gst-disable-segtrap --gst-disable-registry-fork and debug.
        程序异常结束。
      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      @DidaHarp Are you sure the error is related to QJsonDocument ?

      157

      1 Reply Last reply
      0
      • Joel BodenmannJ Offline
        Joel BodenmannJ Offline
        Joel Bodenmann
        wrote on last edited by Joel Bodenmann
        #3

        @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.

        Industrial process automation software: https://simulton.com
        Embedded Graphics & GUI library: https://ugfx.io

        D 1 Reply Last reply
        0
        • Joel BodenmannJ 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.

          D Offline
          D Offline
          DidaHarp
          wrote on last edited by
          #4

          @Joel-Bodenmann Alright.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved