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. Qt and message queue from boost [Solved]
QtWS25 Last Chance

Qt and message queue from boost [Solved]

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.2k Views
  • 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.
  • W Offline
    W Offline
    willeip
    wrote on last edited by
    #1

    I encounter a problem on a project that uses Qt and boost message queues to communicate with openvibe (a BCI software). When I send the message queue just before showing my window, openvibe receives it, but when I send it just after the call of window->show(), it does not.

    I tried the code that send the message queue in another thread or uses a QTimer but it still does not send it.

    My debug is well displayed so everything seems to be called and not blocked by Qt. I do not receive any exception from boost::interprocess so I am running out of solution.

    Does someone have an idea why ? Thank you very much!

    1 Reply Last reply
    0
    • jensen82J Offline
      jensen82J Offline
      jensen82
      wrote on last edited by
      #2

      I've used boost::interprocess some time ago and had no problems with Qt and boost. What do you do? Some code? When do you poll for a message?

      Pls post some code.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        willeip
        wrote on last edited by
        #3

        I was using the version 1.47 of boost and after switching to the 1.51 it fixed my problem. I saw on google that there were some problem with the old versions.

        Thank you for your help.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          Please marked your thread with [Solved] in the title line when it is solved for you. This helps others to see where answers to problems may be found.

          Vote the answer(s) that helped you to solve your issue(s)

          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