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. Qt and a script interface. What language should I use?
Forum Update on Monday, May 27th 2025

Qt and a script interface. What language should I use?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 513 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.
  • P Offline
    P Offline
    primem0ver
    wrote on 31 Oct 2014, 12:16 last edited by
    #1

    I am still a ways off before I will begin this step but I like to plan ahead. So I thought I would start asking the essential questions now.

    In my project I will have a big need for using scripts. The purpose of these scripts will be to create a simple and direct way for a user or a module developer to directly control graphics engine objects as well as certain Qt GUI elements. In particular, the scripts will be used to disable and enable parts of the Qt GUI (Widgets) when needed. For a long time I planned on using LUA but I don't know how practical it would be to implement LUA in a Qt environment. I also know that QML exists but I am unfamiliar with its capabilities. Whatever scripting language/engine I use, here are the criteria it would need to meet.

    A relatively simple set of keywords and syntax which is easily learned by others.

    An ability to interact with Qt widgets (mainly to disable, enable, or make them hidden)

    An ability to extend the set of usable commands/built in functions within the scripting language. It would be even more beneficial if this could be done dynamically (on the fly).

    An ability to call C++ functions from the script using the functions in #3.

    1 Reply Last reply
    0

    1/1

    31 Oct 2014, 12:16

    • 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