Alternatives to JavaScript

Qt Script is an environment that is designed to be part of the Qt world. Since not everyone knows or likes JavaScript, we will present another language that can easily be used to provide scripting environments for games that are created with Qt. Just be aware that this is not going to be an in-depth description of the environment—we will just show you the basics that can provide foundations for your own research.

Python

A popular language used for scripting is Python. There are two variants of Qt bindings that are available for Python: PySide and PyQt. PySide is the official binding that is available under LGPL, but currently, it only work with Qt 4. PyQt is a third-party library that is available under GPL v3 and commercial ...

Get Game Programming Using Qt now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.