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. Memory managment - global object
Forum Updated to NodeBB v4.3 + New Features

Memory managment - global object

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 220 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.
  • D Offline
    D Offline
    Devoo
    wrote on last edited by
    #1

    Hi,
    I got an error message: "Cannot send events to objects owned by a different thread" when closing the app.
    The object is global, so I think there is something magical to fix it.
    Any idea?

    I tried Q_GLOBAL_STATIC macro.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2
      • set QT_FATAL_WARNINGS env. variable
      • run your app in a debugger
      • it will show you exactly when this message is triggered, that should help with fixing

      (Z(:^

      1 Reply Last reply
      2
      • D Offline
        D Offline
        Devoo
        wrote on last edited by
        #3

        Global object is defined in shared library (language: C).
        Maybe that's the reason.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Devoo
          wrote on last edited by
          #4
          This post is deleted!
          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