|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles | Qt Script for Applications | ![]() |
[Prev: Preface] [Home] [Next: How to Make Qt Applications Scriptable]
This chapter gives a brief overview of the Qt Script for Applications toolkit.
Qt Script for Applications is a cross-platform toolkit for making C++ applications scriptable using an interpreted scripting language, Qt Script. The Qt Script for Applications toolkit is made up of the following components:
Qt Script for Applications library, which the developer of the C++ application uses to make the application scriptable.
Qt Script, an easy-to-learn, cross-platform interpreted scripting language. Qt Script is based on the ECMAScript standard. Microsoft's JScript, and Netscape's JavaScript are also based on the ECMAScript standard.
QSA Workbench (Qt Script for Applications Workbench), a scripting environment for editing, managing, and running scripts within your project. QSA Workbench includes an output window to view errors that occur when running the script.
Qt Script for Applications makes certain objects (QObject and its subclasses) available to the scripting engine. The only thing you have to do to make your application scriptable, is to pass these objects to a function of the Qt Script for Applications library. No binding code is needed because it is done dynamically using Qt meta object system.
The tutorial chapters that follow show you how to make an application scriptable and how to write a simple script for the application.
[Prev: Preface] [Home] [Next: How to Make Qt Applications Scriptable]
Copyright © 2001-2006 Trolltech | Trademarks | QSA version 1.1.5
|