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 5 Sept 2015, 14:44 last edited by DidaHarp 9 May 2015, 14:46
    #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.
      程序异常结束。
    P 1 Reply Last reply 5 Sept 2015, 15:19
    0
    • D DidaHarp
      5 Sept 2015, 14:44

      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.
        程序异常结束。
      P Offline
      P Offline
      p3c0
      Moderators
      wrote on 5 Sept 2015, 15:19 last edited by
      #2

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

      157

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Joel Bodenmann
        wrote on 5 Sept 2015, 15:35 last edited by Joel Bodenmann 9 May 2015, 15:36
        #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 5 Sept 2015, 15:46
        0
        • J Joel Bodenmann
          5 Sept 2015, 15:35

          @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 5 Sept 2015, 15:46 last edited by
          #4

          @Joel-Bodenmann Alright.

          1 Reply Last reply
          0

          4/4

          5 Sept 2015, 15:46

          • Login

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