Platform-Specific Features
- Interfacing with Native APIs
- Using ActiveX
- Session Management
In this chapter, we will look at some of the platform-specific options available to Qt programmers. We begin by looking at how to access native APIs such as the Win32 API on Windows, Core Graphics on Mac OS X, and Xlib on X11. We then move on to explore Qt's ActiveQt extension, showing how to use ActiveX controls within Qt/Windows applications and how to create applications that act as ActiveX servers. And in the last section, we explain how to make Qt applications cooperate with the session manager under X11.
In addition to the features presented here, the Enterprise Edition of Qt includes the Qt/Motif extension to ease the migration of Motif and Xt applications to Qt. A similar extension for Tcl/Tk applications is provided by froglogic, and a Microsoft Windows resource converter is available from Klarälvdalens Datakonsult. And for embedded development, Trolltech provides the Qtopia application framework. See the following web pages for details:
- http://doc.trolltech.com/3.2/motif-extension.html
- http://www.froglogic.com/tq/
- http://www.klaralvdalens-datakonsult.se/?page=products&sub=knut
- http://www.trolltech.com/products/qtopia/