Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Building Qt for Linux/bg: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
m (Simow moved page Editing Building Qt for Linux/bg to Building Qt for Linux/bg: Wording Mistake)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}
[[Category:Developing with Qt::General]]
[[Category:HowTo]]
[[Category:HowTo]]
[[Category:Instructions]]
{{DISPLAYTITLE:Компилиране на Qt за Linux}}
 
'''Български''' [[Build_Qt_For_Linux|English]] [[Build_Qt_For_Linux_Portuguese|Português]] [[Build_Qt_For_Linux_Russian|Русский]] [[Build_Qt_For_Linux_Japanese|日本語]] [[Build_Qt_For_Linux_Spanish|Spanish]]
 
= Компилиране на Qt за Linux =


Qt е много голяма библиотека, има множество модули, конфигурационни опции и избираеми допълнителни възможности. Изправени пред компилирането от изходен код, може да се окаже доста трудна задача да инсталирате зависимостите на Qt, от които се нуждаете, и как да накарате някои от по-скритите му възможности да се включат при компилирането!
Qt е много голяма библиотека, има множество модули, конфигурационни опции и избираеми допълнителни възможности. Изправени пред компилирането от изходен код, може да се окаже доста трудна задача да инсталирате зависимостите на Qt, от които се нуждаете, и как да накарате някои от по-скритите му възможности да се включат при компилирането!
Line 18: Line 11:


{|
{|
!Зависимост
! style="text-align:left;" | Dependency
!Модул
! style="text-align:left;" | Module
!Опция за включване
! style="text-align:left;" | Configure switch
!Qt/X11?
! style="text-align:left;" | Qt/X11?
!Qt/Embedded?
! style="text-align:left;" | Qt/Embedded?
!Qt 4.5
! style="text-align:left;" | Qt 4.5
!Qt 4.6
! style="text-align:left;" | Qt 4.6
!Qt 4.7
! style="text-align:left;" | Qt 4.7
!Qt 4.8
! style="text-align:left;" | Qt 4.8 (trunk)
|-
|-
|ZLib
|ZLib
|QtCore
|QtCore
|‑[qt|system]‑zlib
| -<nowiki>[qt|system]</nowiki>-zlib
|X
|X
|X
|X
Line 40: Line 33:
|JPEG
|JPEG
|QtCore
|QtCore
|&amp;#8209;[qt&amp;amp;#124;system]&amp;#8209;libjpeg
| -<nowiki>[qt|system]</nowiki>-libjpeg
|X
|X
|X
|X
Line 50: Line 43:
|TIFF
|TIFF
|QtCore
|QtCore
|&amp;#8209;[qt&amp;amp;#124;system]&amp;#8209;libtiff
| -<nowiki>[qt|system]</nowiki>-libtiff
|X
|X
|X
|X
Line 60: Line 53:
|MNG
|MNG
|QtCore
|QtCore
|&amp;#8209;[qt&amp;amp;#124;system]&amp;#8209;libmng
| -<nowiki>[qt|system]</nowiki>-libmng
|X
|X
|X
|X
Line 70: Line 63:
|PNG
|PNG
|QtCore
|QtCore
|&amp;#8209;[qt&amp;amp;#124;system]&amp;#8209;libpng
| -<nowiki>[qt|system]</nowiki>-libpng
|X
|X
|X
|X
Line 80: Line 73:
|OpenGL
|OpenGL
|QtOpenGL
|QtOpenGL
|&amp;#8209;opengl
| -opengl
|X
|X
|
|
Line 90: Line 83:
|OpenGL ES 1
|OpenGL ES 1
|QtOpenGL
|QtOpenGL
|&amp;#8209;opengl&amp;amp;nbsp;es1
| -opengl es1
|X
|X
|X
|X
|X<ref>Въпреки, че се поддържат, не успях да компилирам с тази опция в Qt 4.5.
|X <ref name="ref1">Though supported, I have not been able to figure out how to build this option in Qt 4.5</ref>
</ref>
|X
|X
|X
|X
Line 101: Line 93:
|OpenGL ES 1 CL
|OpenGL ES 1 CL
|QtOpenGL
|QtOpenGL
|&amp;#8209;opengl&amp;amp;nbsp;es1cl
| -opengl es1cl
|X
|X
|X
|X
|X<ref>Въпреки, че се поддържат, не успях да компилирам с тази опция в Qt 4.5.
|X <ref name="ref1"/>
</ref>
|X
|X
|X
|X
Line 112: Line 103:
|OpenGL ES 2
|OpenGL ES 2
|QtOpenGL
|QtOpenGL
|&amp;#8209;opengl&amp;amp;nbsp;es2
| -opengl es2
|X
|X
|X
|X
|X<ref>Въпреки, че се поддържат, не успях да компилирам с тази опция в Qt 4.5.
|X <ref name="ref1"/>
</ref>
|X
|X
|X
|X
Line 123: Line 113:
|EGL
|EGL
|QtOpenGL
|QtOpenGL
|&amp;#8209;egl, &amp;#8209;opengl&amp;amp;nbsp;es[1&amp;amp;#124;1cl&amp;amp;#124;2]
| -egl, -opengl <nowiki>[1|1cl|2]</nowiki>
|X
|X
|X<ref>Трябва да подадете &amp;#8209;DMESA_EGL_NO_X11_HEADERS на "configure", когато компилирате Qt/Embedded. Вероятно това може да се постигне чрез .qmake.cache?
|X <ref name="ref2">Need to pass -DMESA_EGL_NO_X11_HEADERS to "configure" when building Qt/Embedded. Possibly this could be done via .qmake.cache?</ref>
</ref>
|X
|X
|X
|X
Line 134: Line 123:
|OpenVG
|OpenVG
|QtOpenVG
|QtOpenVG
|&amp;#8209;openvg
| -openvg
|X
|X
|X
|X
Line 144: Line 133:
|ShivaVG
|ShivaVG
|QtOpenVG
|QtOpenVG
|&amp;#8209;openvg
| -openvg
|X
|X
|X
|X
Line 154: Line 143:
|DirectFB
|DirectFB
|QtGui
|QtGui
|&amp;#8209;[qt&amp;amp;#124;plugin]&amp;#8209;gfx&amp;amp;#8209;directfb
| -<nowiki>[qt|plugin]</nowiki>-gfx-directfb
|
|
|X
|X
Line 162: Line 151:
|X
|X
|-
|-
|GStreamer<ref>Трябва да подадете "$(pkg&amp;amp;#8209;config gstreamer&amp;amp;#8209;interfaces&amp;amp;#8209;0.10 gstreamer&amp;amp;#8209;video&amp;amp;#8209;0.10 gstreamer&amp;amp;#8209;base&amp;amp;#8209;0.10 &amp;#8209;&amp;#8209;cflags&amp;amp;#8209;only&amp;amp;#8209;I)" на "configure".
|GStreamer <ref name="ref2"/>
</ref>
|Phonon
|Phonon
|&amp;#8209;phonon
| -phonon
|X
|X
|X
|X
Line 175: Line 163:
|PulseAudio
|PulseAudio
|Phonon
|Phonon
|&amp;#8209;phonon&amp;amp;#8209;backend
| -phonon-backend
|X
|X
|X
|X
Line 185: Line 173:
|ALSA
|ALSA
|QtMultimedia
|QtMultimedia
|&amp;#8209;multimedia
| -multimedia
|X
|X
|X
|X
Line 195: Line 183:
|NAS Sound
|NAS Sound
|QtGui
|QtGui
|&amp;#8209;system&amp;amp;#8209;nas&amp;amp;#8209;sound
| -system-nas-sound
|X
|X
|
|
Line 205: Line 193:
|FreeType
|FreeType
|QtGui
|QtGui
|&amp;#8209;freetype
| -freetype
|X
|X
|X
|X
Line 215: Line 203:
|FontConfig
|FontConfig
|QtGui
|QtGui
|&amp;#8209;fontconfig
| -fontconfig
|X
|X
|
|
Line 225: Line 213:
|tslib
|tslib
|QtGui
|QtGui
|&amp;#8209;[qt&amp;amp;#124;plugin]&amp;#8209;mouse&amp;amp;#8209;tslib
| -<nowiki>[qt|plugin]</nowiki>-mouse-tslib
|
|
|X
|X
Line 235: Line 223:
|Cups
|Cups
|QtGui
|QtGui
|&amp;#8209;cups
| -cups
|X
|X
|X
|X
Line 243: Line 231:
|X
|X
|-
|-
|D&amp;amp;#8209;Bus
|D-Bus
|QtDBus
|QtDBus
|&amp;#8209;dbus[&amp;#8209;linked]
| -dbus[-linked]
|X
|X
|X
|X
Line 255: Line 243:
|ICD
|ICD
|QtNetwork
|QtNetwork
|&amp;#8209;icd
| -icd
|X
|X
|X
|X
Line 265: Line 253:
|GLib
|GLib
|QtCore
|QtCore
|&amp;#8209;glib
| -glib
|X
|X
|X
|X
Line 275: Line 263:
|GTK
|GTK
|QtGui
|QtGui
|&amp;#8209;gtkstyle
| -gtkstyle
|X
|X
|
|
Line 285: Line 273:
|X11
|X11
|QtGui
|QtGui
|''няма''
|''none''
|X
|X
|
|
Line 295: Line 283:
|XShape
|XShape
|QtGui
|QtGui
|&amp;#8209;xshape
| -xshape
|X
|X
|
|
Line 305: Line 293:
|XCursor
|XCursor
|QtGui
|QtGui
|&amp;#8209;xcursor
| -xcursor
|X
|X
|
|
Line 315: Line 303:
|XFixes
|XFixes
|QtGui
|QtGui
|&amp;#8209;xfixes
| -xfixes
|X
|X
|
|
Line 325: Line 313:
|XRandr
|XRandr
|QtGui
|QtGui
|&amp;#8209;xrandr
| -xrandr
|X
|X
|
|
Line 335: Line 323:
|XRender
|XRender
|QtGui, QtWebKit
|QtGui, QtWebKit
|&amp;#8209;xrender
| -xrender
|X
|X
|
|
Line 345: Line 333:
|XVideo
|XVideo
|Phonon, QtMultimedia
|Phonon, QtMultimedia
|&amp;#8209;xvideo
| -xvideo
|X
|X
|
|
Line 355: Line 343:
|Xinerama
|Xinerama
|QtGui
|QtGui
|&amp;#8209;xinerama
| -xinerama
|X
|X
|
|
Line 365: Line 353:
|XInput
|XInput
|QtGui
|QtGui
|&amp;#8209;xinput
| -xinput
|X
|X
|
|
Line 375: Line 363:
|Session management
|Session management
|QtGui
|QtGui
|&amp;#8209;sm
| -sm
|X
|X
|
|
Line 385: Line 373:
|OpenSSL
|OpenSSL
|QtNetwork, QtWebKit
|QtNetwork, QtWebKit
|&amp;#8209;openssl[&amp;#8209;linked]
| -openssl[-linked]
|X
|X
|X
|X
Line 395: Line 383:
|Interbase
|Interbase
|QtSql
|QtSql
|&amp;#8209;[qt&amp;amp;#124;plugin]&amp;#8209;sql&amp;amp;#8209;ibase
| -<nowiki>[qt|plugin]</nowiki>-sql-ibase
|X
|X
|X
|X
Line 405: Line 393:
|MySQL
|MySQL
|QtSql
|QtSql
|&amp;#8209;[qt&amp;amp;#124;plugin]&amp;#8209;sql&amp;amp;#8209;mysql
| -<nowiki>[qt|plugin]</nowiki>-sql-mysql
|X
|X
|X
|X
Line 415: Line 403:
|ODBC
|ODBC
|QtSql
|QtSql
|&amp;#8209;[qt&amp;amp;#124;plugin]&amp;#8209;sql&amp;amp;#8209;odbc
| -<nowiki>[qt|plugin]</nowiki>-sql-odbc
|X
|X
|X
|X
Line 425: Line 413:
|PostgreSQL
|PostgreSQL
|QtSql
|QtSql
|&amp;#8209;[qt&amp;amp;#124;plugin]&amp;#8209;sql&amp;amp;#8209;psql
| -<nowiki>[qt|plugin]</nowiki>-sql-psql
|X
|X
|X
|X
Line 435: Line 423:
|SQLite 2
|SQLite 2
|QtSql
|QtSql
|&amp;#8209;[qt&amp;amp;#124;plugin]&amp;#8209;sql&amp;amp;#8209;sqlite2
| -<nowiki>[qt|plugin]</nowiki>-sql-sqlite2
|X
|X
|X
|X
Line 445: Line 433:
|SQLite 3
|SQLite 3
|QtSql
|QtSql
|&amp;#8209;[qt&amp;amp;#124;plugin]&amp;#8209;sql&amp;amp;#8209;sqlite
| -<nowiki>[qt|plugin]</nowiki>-sql-sqlite
|X
|X
|X
|X
Line 455: Line 443:
|TDS
|TDS
|QtSql
|QtSql
|&amp;#8209;[qt&amp;amp;#124;plugin]&amp;#8209;sql&amp;amp;#8209;tds
| -<nowiki>[qt|plugin]</nowiki>-sql-tds
|X
|X
|X
|X
Line 465: Line 453:


{|
{|
!Зависимост
! style="text-align:left;" | Dependency
!Ubuntu Lucid
! style="text-align:left;" | Ubuntu Lucid
!Ubuntu Maverick
! style="text-align:left;" | Ubuntu Maverick
|-
|-
|ZLib
|ZLib
|zlib1g&amp;amp;#8209;dev
|zlib1g-dev
|zlib1g&amp;amp;#8209;dev
|zlib1g-dev
|-
|-
|JPEG
|JPEG
|libjpeg62&amp;amp;#8209;dev
|libjpeg62-dev
|libjpeg62&amp;amp;#8209;dev
|libjpeg62-dev
|-
|-
|TIFF
|TIFF
|libtiff4&amp;amp;#8209;dev
|libtiff4-dev
|libtiff4&amp;amp;#8209;dev
|libtiff4-dev
|-
|-
|MNG
|MNG
|libmng&amp;amp;#8209;dev
|libmng-dev
|libmng&amp;amp;#8209;dev
|libmng-dev
|-
|-
|PNG
|PNG
|libpng12&amp;amp;#8209;dev
|libpng12-dev
|libpng12&amp;amp;#8209;dev
|libpng12-dev
|-
|-
|OpenGL
|OpenGL
|mesa&amp;amp;#8209;common&amp;amp;#8209;dev, libglu1&amp;amp;#8209;mesa&amp;amp;#8209;dev
|mesa-common-dev, libglu1-mesa-dev
|mesa&amp;amp;#8209;common&amp;amp;#8209;dev, libglu1&amp;amp;#8209;mesa&amp;amp;#8209;dev
|mesa-common-dev, libglu1-mesa-dev
|-
|-
|OpenGL ES 1
|OpenGL ES 1
|''няма''
|''none''
|libgles1&amp;amp;#8209;mesa&amp;amp;#8209;dev<ref>Това също изисква пакет, който предоставя libGLES_CM.so.
|libgles1-mesa-dev <ref name="ref3">This also requires a provider of libGLES_CM.so.</ref>
</ref>
|-
|-
|OpenGL ES 1 CL
|OpenGL ES 1 CL
|''няма''
|''none''
|libgles1&amp;amp;#8209;mesa&amp;amp;#8209;dev
|libgles1-mesa-dev
|-
|-
|OpenGL ES 2
|OpenGL ES 2
|''няма''
|''none''
|libgles2&amp;amp;#8209;mesa&amp;amp;#8209;dev
|libgles2-mesa-dev
|-
|-
|EGL
|EGL
|''няма''
|''none''
|libgles2&amp;amp;#8209;mesa&amp;amp;#8209;dev or libegl1&amp;amp;#8209;mesa&amp;amp;#8209;dev
|libgles2-mesa-dev or libegl1-mesa-dev
|-
|-
|OpenVG
|OpenVG
|''няма''
|''none''
|libopenvg1&amp;amp;#8209;mesa&amp;amp;#8209;dev
|libopenvg1-mesa-dev
|-
|-
|ShivaVG
|ShivaVG
|''няма''
|''none''
|''няма''
|''none''
|-
|-
|DirectFB
|DirectFB
|libdirectfb&amp;amp;#8209;dev
|libdirectfb-dev
|libdirectfb&amp;amp;#8209;dev
|libdirectfb-dev
|-
|-
|GStreamer
|GStreamer
|libgstreamer0.10&amp;amp;#8209;dev, libgstreamer&amp;amp;#8209;plugins&amp;amp;#8209;base0.10&amp;amp;#8209;dev
|libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev
|libgstreamer0.10&amp;amp;#8209;dev, libgstreamer&amp;amp;#8209;plugins&amp;amp;#8209;base0.10&amp;amp;#8209;dev
|libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev
|-
|-
|PulseAudio
|PulseAudio
|libpulse&amp;amp;#8209;dev
|libpulse-dev
|libpulse&amp;amp;#8209;dev
|libpulse-dev
|-
|-
|NAS Sound
|NAS Sound
|libaudio&amp;amp;#8209;dev
|libaudio-dev
|libaudio&amp;amp;#8209;dev
|libaudio-dev
|-
|-
|ALSA
|ALSA
|libasound2&amp;amp;#8209;dev
|libasound2-dev
|libasound2&amp;amp;#8209;dev
|libasound2-dev
|-
|-
|FreeType
|FreeType
|libfreetype6&amp;amp;#8209;dev
|libfreetype6-dev
|libfreetype6&amp;amp;#8209;dev
|libfreetype6-dev
|-
|-
|FontConfig
|FontConfig
|libfontconfig1&amp;amp;#8209;dev
|libfontconfig1-dev
|libfontconfig1&amp;amp;#8209;dev
|libfontconfig1-dev
|-
|-
|tslib
|tslib
|libts&amp;amp;#8209;dev
|libts-dev
|libts&amp;amp;#8209;dev
|libts-dev
|-
|-
|Cups
|Cups
|libcups2&amp;amp;#8209;dev
|libcups2-dev
|libcups2&amp;amp;#8209;dev
|libcups2-dev
|-
|-
|D&amp;amp;#8209;Bus
|D-Bus
|libdbus&amp;amp;#8209;1&amp;amp;#8209;dev
|libdbus-1-dev
|libdbus&amp;amp;#8209;1&amp;amp;#8209;dev
|libdbus-1-dev
|-
|-
|ICD
|ICD
|''няма''
|''none''
|''няма''
|''none''
|-
|-
|GLib
|GLib
|libglib2.0&amp;amp;#8209;dev
|libglib2.0-dev
|libglib2.0&amp;amp;#8209;dev
|libglib2.0-dev
|-
|-
|GTK
|GTK
|libgtk2.0&amp;amp;#8209;dev
|libgtk2.0-dev
|libgtk2.0&amp;amp;#8209;dev
|libgtk2.0-dev
|-
|-
|X11
|X11
|libx11&amp;amp;#8209;dev, libxext&amp;amp;#8209;dev
|libx11-dev, libxext-dev
|libx11&amp;amp;#8209;dev, libxext&amp;amp;#8209;dev
|libx11-dev, libxext-dev
|-
|-
|XCursor
|XCursor
|libxcursor&amp;amp;#8209;dev
|libxcursor-dev
|libxcursor&amp;amp;#8209;dev
|libxcursor-dev
|-
|-
|XFixes
|XFixes
|libxfixes&amp;amp;#8209;dev
|libxfixes-dev
|libxfixes&amp;amp;#8209;dev
|libxfixes-dev
|-
|-
|XRandr
|XRandr
|libxrandr&amp;amp;#8209;dev
|libxrandr-dev
|libxrandr&amp;amp;#8209;dev
|libxrandr-dev
|-
|-
|XRender
|XRender
|libxrender&amp;amp;#8209;dev
|libxrender-dev
|libxrender&amp;amp;#8209;dev
|libxrender-dev
|-
|-
|XVideo
|XVideo
|libxv&amp;amp;#8209;dev
|libxv-dev
|libxv&amp;amp;#8209;dev
|libxv-dev
|-
|-
|Xinerama
|Xinerama
|libxinerama&amp;amp;#8209;dev
|libxinerama-dev
|libxinerama&amp;amp;#8209;dev
|libxinerama-dev
|-
|-
|XInput
|XInput
|libxi&amp;amp;#8209;dev
|libxi-dev
|libxi&amp;amp;#8209;dev
|libxi-dev
|-
|-
|Session management
|Session management
|libsm&amp;amp;#8209;dev
|libsm-dev
|libsm&amp;amp;#8209;dev
|libsm-dev
|-
|-
|OpenSSL
|OpenSSL
|libssl&amp;amp;#8209;dev
|libssl-dev
|libssl&amp;amp;#8209;dev
|libssl-dev
|-
|-
|Interbase
|Interbase
|firebird2.1&amp;amp;#8209;dev
|firebird2.1-dev
|firebird2.5&amp;amp;#8209;dev or firebird2.1&amp;amp;#8209;dev
|firebird2.5-dev or firebird2.1-dev
|-
|-
|MySQL
|MySQL
|libmysqlclient&amp;amp;#8209;dev
|libmysqlclient-dev
|libmysqlclient&amp;amp;#8209;dev
|libmysqlclient-dev
|-
|-
|ODBC
|ODBC <ref name="ref4"> Using libiodbc2 instead of unixodbc is supported starting in Qt 4.6.</ref>
|unixodbc&amp;amp;#8209;dev or libiodbc2&amp;amp;#8209;dev<ref>Използването на libiodbc2 вместо unixodbc се поддържа от Qt 4.6.
|unixodbc-dev or libiodbc2-dev
</ref>
|unixodbc-dev or libiodbc2-dev
|unixodbc&amp;amp;#8209;dev or libiodbc2&amp;amp;#8209;dev<ref>Използването на libiodbc2 вместо unixodbc се поддържа от Qt 4.6.
</ref>
|-
|-
|PostgreSQL
|PostgreSQL
|libpq&amp;amp;#8209;dev
|libpq-dev
|libpq&amp;amp;#8209;dev
|libpq-dev
|-
|-
|SQLite 2
|SQLite 2
|libsqlite0&amp;amp;#8209;dev
|libsqlite0-dev
|libsqlite0&amp;amp;#8209;dev
|libsqlite0-dev
|-
|-
|SQLite 3
|SQLite 3
|libsqlite3&amp;amp;#8209;dev
|libsqlite3-dev
|libsqlite3&amp;amp;#8209;dev
|libsqlite3-dev
|-
|-
|TDS
|TDS
|freetds&amp;amp;#8209;dev[6]
|freetds-dev
|freetds&amp;amp;#8209;dev[6]
|freetds-dev
|}
|}


<references />
<references/>

Latest revision as of 21:20, 7 March 2015


Qt е много голяма библиотека, има множество модули, конфигурационни опции и избираеми допълнителни възможности. Изправени пред компилирането от изходен код, може да се окаже доста трудна задача да инсталирате зависимостите на Qt, от които се нуждаете, и как да накарате някои от по-скритите му възможности да се включат при компилирането!

Пакетите, които можете да считате като "стандартни минимални изисквания" под Linux са: ZLib, JPEG, TIFF, MNG, PNG, OpenGL, GStreamer, ALSA, FreeType, FontConfig, CUPS, D-Bus, X*, OpenSSL и SQLite.

Следва подробен списък с имената на пакетите на зависимостите за всички версии на Qt между 4.5 и 4.8 В момента само имената на пакетите от Ubuntu са включени.

Колоната "Модул" показва модула от най-ниско ниво, който използва зависимостта (примерно, ако QtCore я използва, тя няма да бъде включена в списъка за QtGui). Множество модули са изброени, само ако те са независими.

Dependency Module Configure switch Qt/X11? Qt/Embedded? Qt 4.5 Qt 4.6 Qt 4.7 Qt 4.8 (trunk)
ZLib QtCore -[qt|system]-zlib X X X X X X
JPEG QtCore -[qt|system]-libjpeg X X X X X X
TIFF QtCore -[qt|system]-libtiff X X X X X X
MNG QtCore -[qt|system]-libmng X X X X X X
PNG QtCore -[qt|system]-libpng X X X X X X
OpenGL QtOpenGL -opengl X X X X X
OpenGL ES 1 QtOpenGL -opengl es1 X X X [1] X X X
OpenGL ES 1 CL QtOpenGL -opengl es1cl X X X [1] X X X
OpenGL ES 2 QtOpenGL -opengl es2 X X X [1] X X X
EGL QtOpenGL -egl, -opengl [1|1cl|2] X X [2] X X X X
OpenVG QtOpenVG -openvg X X X X X
ShivaVG QtOpenVG -openvg X X X X X
DirectFB QtGui -[qt|plugin]-gfx-directfb X X X X X
GStreamer [2] Phonon -phonon X X X X X X
PulseAudio Phonon -phonon-backend X X X X X
ALSA QtMultimedia -multimedia X X X X X
NAS Sound QtGui -system-nas-sound X X X X X
FreeType QtGui -freetype X X X X X X
FontConfig QtGui -fontconfig X X X X X
tslib QtGui -[qt|plugin]-mouse-tslib X X X X X
Cups QtGui -cups X X X X X X
D-Bus QtDBus -dbus[-linked] X X X X X X
ICD QtNetwork -icd X X X X
GLib QtCore -glib X X X X X X
GTK QtGui -gtkstyle X X X X X
X11 QtGui none X X X X X
XShape QtGui -xshape X X X X X
XCursor QtGui -xcursor X X X X X
XFixes QtGui -xfixes X X X X X
XRandr QtGui -xrandr X X X X X
XRender QtGui, QtWebKit -xrender X X X X X
XVideo Phonon, QtMultimedia -xvideo X X X X X
Xinerama QtGui -xinerama X X X X X
XInput QtGui -xinput X X X X X
Session management QtGui -sm X X X X X
OpenSSL QtNetwork, QtWebKit -openssl[-linked] X X X X X X
Interbase QtSql -[qt|plugin]-sql-ibase X X X X X X
MySQL QtSql -[qt|plugin]-sql-mysql X X X X X X
ODBC QtSql -[qt|plugin]-sql-odbc X X X X X X
PostgreSQL QtSql -[qt|plugin]-sql-psql X X X X X X
SQLite 2 QtSql -[qt|plugin]-sql-sqlite2 X X X X X X
SQLite 3 QtSql -[qt|plugin]-sql-sqlite X X X X X X
TDS QtSql -[qt|plugin]-sql-tds X X X X X X
Dependency Ubuntu Lucid Ubuntu Maverick
ZLib zlib1g-dev zlib1g-dev
JPEG libjpeg62-dev libjpeg62-dev
TIFF libtiff4-dev libtiff4-dev
MNG libmng-dev libmng-dev
PNG libpng12-dev libpng12-dev
OpenGL mesa-common-dev, libglu1-mesa-dev mesa-common-dev, libglu1-mesa-dev
OpenGL ES 1 none libgles1-mesa-dev [3]
OpenGL ES 1 CL none libgles1-mesa-dev
OpenGL ES 2 none libgles2-mesa-dev
EGL none libgles2-mesa-dev or libegl1-mesa-dev
OpenVG none libopenvg1-mesa-dev
ShivaVG none none
DirectFB libdirectfb-dev libdirectfb-dev
GStreamer libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev
PulseAudio libpulse-dev libpulse-dev
NAS Sound libaudio-dev libaudio-dev
ALSA libasound2-dev libasound2-dev
FreeType libfreetype6-dev libfreetype6-dev
FontConfig libfontconfig1-dev libfontconfig1-dev
tslib libts-dev libts-dev
Cups libcups2-dev libcups2-dev
D-Bus libdbus-1-dev libdbus-1-dev
ICD none none
GLib libglib2.0-dev libglib2.0-dev
GTK libgtk2.0-dev libgtk2.0-dev
X11 libx11-dev, libxext-dev libx11-dev, libxext-dev
XCursor libxcursor-dev libxcursor-dev
XFixes libxfixes-dev libxfixes-dev
XRandr libxrandr-dev libxrandr-dev
XRender libxrender-dev libxrender-dev
XVideo libxv-dev libxv-dev
Xinerama libxinerama-dev libxinerama-dev
XInput libxi-dev libxi-dev
Session management libsm-dev libsm-dev
OpenSSL libssl-dev libssl-dev
Interbase firebird2.1-dev firebird2.5-dev or firebird2.1-dev
MySQL libmysqlclient-dev libmysqlclient-dev
ODBC [4] unixodbc-dev or libiodbc2-dev unixodbc-dev or libiodbc2-dev
PostgreSQL libpq-dev libpq-dev
SQLite 2 libsqlite0-dev libsqlite0-dev
SQLite 3 libsqlite3-dev libsqlite3-dev
TDS freetds-dev freetds-dev
  1. 1.0 1.1 1.2 Though supported, I have not been able to figure out how to build this option in Qt 4.5
  2. 2.0 2.1 Need to pass -DMESA_EGL_NO_X11_HEADERS to "configure" when building Qt/Embedded. Possibly this could be done via .qmake.cache?
  3. This also requires a provider of libGLES_CM.so.
  4. Using libiodbc2 instead of unixodbc is supported starting in Qt 4.6.