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. Block Qt Script
Forum Updated to NodeBB v4.3 + New Features

Block Qt Script

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 173 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.
  • A Offline
    A Offline
    Attis
    wrote on last edited by
    #1

    I need some help regarding the Qt ScriptEngine.

    I would like to define a new script function that blocks the script running and waits for the result.
    Similar to the gets function in C.

    The function should read something from the serial port and the result of the function is the string that it read terminated with NUL. I can use the serial port in Qt. My problem is how I can create a script function that blocks the script running until it gets the result.

    The aim is to create a very simple script system, with which anyone is able to create small scripts which can communicate with an external serial port equipment. No programming skills are required.
    Thanks for your help in advanced.

    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