O'Reilly logo

Programming with Qt, 2nd Edition by Matthias Kalle Dalheimer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 24. Interfacing Qt with Other Languages and Libraries

Qt comes with several extensions. These provide additional features that are not in the normal Qt library. They are needed only for special applications and thus should not bloat “normal” applications. You have to compile these extensions separately, since they are not included in the normal Qt build process. This is no problem, since compiling normally means no more than calling make on Unix, or nmake on Windows, in the respective directories.

We will describe three of these extensions in this chapter. We’ll also discuss the possibility of integrating Qt with other programming languages. Programmers who like Qt but don’t like C++ have written language bindings for other languages such as Perl and made these bindings freely available on the Internet. We will look at how to use these bindings and how programming with Qt looks in Perl.

Please note that these sections require additional knowledge that is not directly related to Qt, and therefore is not covered in this book. For example, to use the OpenGL extension, you need to know how to use OpenGL. To call Qt from Perl programs, you will obviously need some Perl knowledge.

OpenGL Programming with Qt

The OpenGL support of Qt (available in the Free and Enterprise Editions) makes it possible to write OpenGL programs and still use Qt for the GUI. OpenGL is a platform- and language-independent API standard for three-dimensional vector graphics, and it is used on many platforms. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required