Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML receive signals when not visible?
Forum Updated to NodeBB v4.3 + New Features

QML receive signals when not visible?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 174 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.
  • D Offline
    D Offline
    David Parker
    wrote on last edited by
    #1

    New to QML, working on a legacy application. We emit signals from C++ code; and several QML objects respond - sometimes they all respond, and sometimes QML objects don't respond to signals. Wondering why, and how to debug this. Must the object be visible to receive signals? Thanks.

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      As long as objects exists you must receive the signals. Either objects do not exist at all or signals are not sent. You can give the objectName to each of the objects in QML & see which objects don't respond.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      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