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. Execution of function at runtime (background)
Forum Update on Tuesday, May 27th 2025

Execution of function at runtime (background)

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 442 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.
  • I Offline
    I Offline
    intensified
    wrote on 5 Sept 2013, 15:46 last edited by
    #1

    Hi,

    I'm creating an app with a couple of buttons on the form, I have a slot that is used to execute a socket client, I was wondering is there a way to connect the slot to the mainwindow form so that it runs at run time in the background? I am also planning to send signals from the buttons as arguments to socket and send them as data to the server in the background. I've had a look at QThread, but I'm not sure if it is able to do this. I'm thinking the easiest way would be signal/slot, but not really sure what would be the correct method for this approach. I hope someone can provide some guidance on this matter.

    1 Reply Last reply
    0

    1/1

    5 Sept 2013, 15:46

    • 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