The QtGui module and the QtCore module, which provides the non-GUI features required by QtGui , depend on the libraries described in the following table. To build Qt from its source code, you will also need to install the development packages for these libraries for your system.
| 名稱 | 庫 | 注意事項 | 配置選項 | 最低工作版本 |
|---|---|---|---|---|
| XRender | libXrender | X Rendering Extension; used for anti-aliasing |
-xrender
或自動檢測
|
0.9.0 |
| Xrandr | libXrandr | X Resize and Rotate Extension |
-xrandr
或自動檢測
|
1.0.2 |
| Xcursor | libXcursor | X Cursor Extension |
-xcursor
或自動檢測
|
1.1.4 |
| Xfixes | libXfixes | X Fixes Extension |
-xfixes
或自動檢測
|
3.0.0 |
| Xinerama | libXinerama | Multi-head support |
-xinerama
或自動檢測
|
1.1.0 |
| Fontconfig | libfontconfig | 字體定製和配置 |
-fontconfig
或自動檢測
|
2.1 |
| FreeType | libfreetype | 字體引擎 | 2.1.3 | |
| Xi | libXi | X11 Input Extensions |
-xinput
或自動檢測
|
1.3.0 |
| Xt | libXt | Xt Intrinsics | 0.99 | |
| Xext | libXext | X 擴展 | 6.4.3 | |
| X11 | libX11 | X11 Client-Side Library | 6.2.1 | |
| SM | libSM | X 會話管理 |
-sm
或自動檢測
|
6.0.4 |
| ICE | libICE | ICE (客戶端間交換) |
-sm
或自動檢測
|
6.3.5 |
| glib | libglib-2.0 | 常見事件循環處理 |
-glib
或自動檢測
|
2.8.3 |
| pthread | libpthread | 多綫程 | 2.3.5 |
注意: You must compile with XRender support to get alpha transparency support for pixmaps and images.
這些庫開發包包含從其源代碼構建 Qt 時使用的頭文件。例如,在基於 Debian 的 GNU/Linux 係統,推薦安裝以下開發包:
這些包中的某些依賴此列錶中的其它,因此安裝一個可能導緻其它被自動安裝。其它分布可能為係統包提供類似名稱。
The configure script will autodetect if OpenGL headers and libraries are installed on your system, and if so, it will include the QtOpenGL module in the Qt library.
若
OpenGL
headers or libraries are placed in a non-standard directory, you may need to change the
QMAKE_INCDIR_OPENGL
and/or
QMAKE_LIBDIR_OPENGL
in the config file for your system.
The QGL documentation assumes that you are familiar with OpenGL programming. If you're new to the subject a good starting point is http://www.opengl.org/ .
作為描述在 Phonon Overview , Phonon uses the GStreamer multimedia framework as the backend for audio and video playback on X11. The minimum required version of GStreamer is 0.10.
To build Phonon, you need the GStreamer library, base plugins, and development files for your system. The package names for GStreamer vary between Linux distributions; try searching for
gstreamer
or
libgstreamer
在分發包存儲庫中查找適閤包。
另請參閱 已知問題 .