This page contains information about the Qt for INTEGRITY port. More information about the combinations of platforms and compilers supported by Qt can be found on the Supported Platforms page.
Note that Qt for INTEGRITY is currently based on Qt for Embedded Linux, which contains its own windowing system (QWS).
Qt for INTEGRITY contains experimental screen driver based on the gh_FB Framebuffer API and experimental connection-based mouse and keyboard input drivers. For information about these drivers, please refer to Green Hills Software standard support.
Qt has been tested on INTEGRITY 10 on various ARM and x86 targets. On some platforms a native graphics FrameBuffer driver is available and has been used for testing. On all other platforms, the default FrameBuffer VNC driver is used.
Qt 4.8.2 has been tested also on INTEGRITY 5.2.2 on x86 target and is proven to be functional. To get third party module libpng compiling for INTEGRITY 5.2.2 one modification is needed, definition of _POSIX_SOURCE must be removed. This can be done manually by just commenting code lines from libpng library that define the flag in question or if you prefer you can request a patch from Qt Commercial standard support via customer portal. If libpng is not needed then better solution is to remove whole libpng from Qt by configuring Qt with extra parameter -no-libpng.
| Modules for general software development | Status | |
|---|---|---|
| QtCore | Core non-graphical classes used by other modules | Supported |
| QtGui | Graphical user interface (GUI) components | Supported |
| QtMultimedia | Classes for low-level multimedia functionality | Not available |
| QtNetwork | Classes for network programming | Supported |
| QtOpenGL | OpenGL support classes | Not available |
| QtOpenVG | OpenVG support classes | Not available |
| QtScript | Classes for evaluating Qt Scripts | Not available |
| QtScriptTools | Additional Qt Script components | Not available |
| QtSql | Classes for database integration using SQL | Supported |
| QtSvg | Classes for displaying the contents of SVG files | Supported |
| QtWebKit | Classes for displaying and editing Web content | Not available |
| QtXml | Classes for handling XML | Supported |
| QtXmlPatterns | An XQuery & XPath engine for XML and custom data models | Not available |
| QtDeclarative | An engine for declaratively building fluid user interfaces. | Not available |
| Phonon | Multimedia framework classes | Not available |
| Qt3Support | Qt 3 compatibility classes | Not available |
| Modules for working with Qt's tools | ||
| QtDesigner | Classes for extending Qt Designer | Not available |
| QtUiTools | Classes for handling Qt Designer forms in applications | Not available |
| QtHelp | Classes for online help | Not available |
| QtTest | Tool classes for unit testing | Supported |
| Modules for Windows developers | ||
| QAxContainer | Extension for accessing ActiveX controls | Not available |
| QAxServer | Extension for writing ActiveX servers | Not available |
| Modules for Unix developers | ||
| QtDBus | Classes for Inter-Process Communication using the D-Bus | Not available |
| Feature | Notes | |
|---|---|---|
| PCH support | Precompiled headers | Not available |
| IPv6 support | Not available | |
| IPv6 ifname support | Not available | |
| getaddrinfo support | Not available | |
| getifaddrs support | Not available | |
| Accessibility | Accessibility | Not available |
| NIS support | Network Information Service | Not available |
| Iconv support | Not available | |
| Glib support | Not available | |
| GStreamer support | Not available | |
| Audio support | Not available | |
| Large File support | Not available | |
| GIF support | Not available | |
| TIFF support | Not available | |
| Session management | Session management | Not available |
| OpenSSL support | OpenSSL toolkit | Not available |
| ICD support | Internet Connectivity Daemon | Not available |
| libICU support | International Components for Unicode | Not available |
| Process suport | QProcess | Not available |
| Printer support | Printing | Not available |
| Monotonic clock support | Not available | |
| Exception support | Not available | |
| Semaphore support | Not available | |
| System semaphore support | Not available | |
| Shared memory support | Shared memory | Not available |
| SXE support | Safe Execution Environment | Not available |
| QWS QPF2 support | QPF2 font | Not available |
| QWS multiprocess support | Not available | |
| QWS multiscreen support | Not available | |
| QWS shared fonts support | Not available | |
| QWS transformed support | Qt for Embedded Linux Display Management | Not available |
Example configure line for cross-compiling Qt for ARM INTEGRITY target on Linux host:
./configure --hostprefix=`cd .; pwd` -embedded integrity -xplatform qws/integrity-arm-cxarm -little-endian -prefix / -qt-sql-sqlite
Example configure line for cross-compiling Qt for ARM INTEGRITY target on Windows host:
Note! MSVC 2008 (Express) or newer is required to build Qt host tools on Windows. You should run following example commands in MSVC Command Prompt.
configure.exe -embedded -xplatform qws/integrity-x86-cx86 -prefix / -qt-sql-sqlite
The above command will generate MULTI .gpj Project files, not Makefiles. The main benefit of using these project files is automatic dependency checking, but this also provides an organization known to INTEGRITY customers. For Qt libraries, the top-level file is projects.gpj.
After configuration you need to edit two lines from the generated projects.gpj file:
On Linux host:
On Windows host:
Before you can build Qt you must first build the needed host tools. This can be done by typing the following command from your Qt source root directory.
On Linux host:
cd src/tools/bootstrap && make && cd ../rcc && make && cd ../moc && make && cd ../uic && make clean && make && cd ../../..
On Windows host:
cd src\tools\bootstrap && make && cd ..\rcc && make && cd ..\moc && make && cd ..\uic && make clean && make && cd ..\..\..
You are now ready to build Qt for INTEGRITY. To build Qt you have two options, you can either use MULTI IDE or you can compile Qt directly from terminal by using GHS gbuild compiler.
gbuild -top projects.gpj