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)
Qt 6.11 is out! See what's new in the release blog

Execution of function at runtime (background)

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 606 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 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

    • Login

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