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. Sending signal from QML to CPP

Sending signal from QML to CPP

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 2 Posters 280 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.
  • V Offline
    V Offline
    Vijaykarthikeyan
    wrote on last edited by
    #1

    I wish to send signal from QML to CPP. I have already done signal handling from CPP to QML and it working fine.. Now, I want to do it from QML to CPP .The example in Qt documentation shows the implementation in main.cpp. I don't want like that actually? I have the separate .cpp file and it should be connected over that separate cpp file and qml file

    B 1 Reply Last reply
    0
    • V Vijaykarthikeyan

      I wish to send signal from QML to CPP. I have already done signal handling from CPP to QML and it working fine.. Now, I want to do it from QML to CPP .The example in Qt documentation shows the implementation in main.cpp. I don't want like that actually? I have the separate .cpp file and it should be connected over that separate cpp file and qml file

      B Offline
      B Offline
      Bob64
      wrote on last edited by
      #2

      @Vijaykarthikeyan This thread might be useful:

      https://forum.qt.io/topic/72407/connect-qml-signal-with-c-slot

      1 Reply Last reply
      3
      • V Vijaykarthikeyan has marked this topic as solved on

      • Login

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