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. QScriptEngine Pause execution

QScriptEngine Pause execution

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 436 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
    dudelflo
    wrote on last edited by A Former User
    #1

    Hi

    I want to create a application where i can run my own scripts.
    I have set it up so far to get it working, slots are called etc...

    Scriptengine runs in its own thread.
    There is another commThread which handles TCP Socket communication.

    Usecase:

    Script says doSomething
    ScriptEngine calls corresponding slot in commThread
    connected commThreadSlot sends doSomething.
    --> here the execution of the called slot by the scriptengine should pause until a response is received by the commthread.

    So after receiving a response from the commthread the scriptengine should continue with the execution of the script.

    Any idea how to solve this ?

    cheers Flo

    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