|Home | Tutorial | Classes | Functions | QSA Developer | Language | Library | Qt API | QSA Articles | Qt Script for Applications | ![]() |
[Prev: Preface] [Home] [Next: How to make your Qt Application 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.
Qt Scripter is the cross-platform IDE used by the end-user to create scripts for C++ applications. Qt Scripter is based on Trolltech's highly successful visual form builder for C++, Qt Designer. Qt Scripter provides a complete development environment, including an integrated debugger, in which end-users can write, run, save and debug scripts.
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 your applications scriptable and how to write a simple script for the application.
[Prev: Preface] [Home] [Next: How to make your Qt Application Scriptable]
Copyright © 2001-2003 Trolltech | Trademarks | QSA version 1.0.0-beta2
|