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. QTconcurrent & XInitThreads problem
Forum Updated to NodeBB v4.3 + New Features

QTconcurrent & XInitThreads problem

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.9k Views 1 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.
  • G Offline
    G Offline
    gfxx
    wrote on 1 Sept 2013, 18:35 last edited by
    #1

    I launch from a gui with kplot a libmodbus connection that give to my applicatio data to plot.

    to make the connection and receive the data I use qtconcurrent to go in parallel the guidance and reception.

    qt applicatio run on ubuntu12.04 an I use -lX11 and XInitThreads() funtion to facilitate the use of qtconcurrent ... but the debug give me this error:

    @[xcb] Unknown request in queue while dequeuing
    [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
    [xcb] Aborting, sorry about that.
    miapplicazioneQT: ../../src/xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
    Aborted@

    Can you tell why

    bkt

    1 Reply Last reply
    0

    1/1

    1 Sept 2013, 18:35

    • Login

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