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.

Build Qt For Linux: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
(Redirect to Building Qt for Linux)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''English''' [[Build Qt For Linux Portuguese|Português]] [[Build Qt For Linux Russian|Русский]] [[Build Qt for Linux Japanese|日本語]] [[Build Qt For Linux Spanish|Spanish]] [[Build Qt For Linux Bulgarian|Български]]
#REDIRECT [[Building Qt for Linux]]
 
=Build Qt for Linux=
 
Qt is a very large framework, and it has many modules, configuration switches, and optional features. Faced with building it from source, it can be a challenge to figure out how to install the dependencies you need, and how to get some of the more obscure features to build!
 
The features that you can consider as a “standard minimum configuration” on Linux are: ZLib, <span class="caps">JPEG</span>, <span class="caps">TIFF</span>, <span class="caps">MNG</span>, <span class="caps">PNG</span>, OpenGL, GStreamer, <span class="caps">ALSA</span>, FreeType, FontConfig, <span class="caps">CUPS</span>, D-Bus, X*, OpenSSL, and <span class="caps">SQL</span>ite.
 
Following is a comprehensive list of package names for the dependencies for all versions of Qt between 4.5 and trunk as of December 2010. Presently only Ubuntu package names have been included, but more distros should follow as the package names are figured out.
 
The “Module” column indicates the lowest-level module which uses the feature (i.e., if QtCore uses the feature, QtGui will not be listed). Multiple modules are only listed if they are not interdependent.
 
<sup>1</sup> Though supported, I have not been able to figure out how to buid this option in Qt 4.5.
 
<sup>2</sup> Need to pass ‑<span class="caps">DMESA</span>_EGL_NO_X11_HEADERS to “configure” when building Qt/Embedded. Possibly this could be done via .qmake.cache?
 
<sup>3</sup> Need to pass “$(pkg‑config gstreamer‑interfaces‑0.10 gstreamer‑video‑0.10 gstreamer‑base‑0.10 ‑‑cflags‑only‑I)” to “configure”.
 
<sup>4</sup> This also requires a provider of libGLES_CM.so.
 
<sup>5</sup> Using libiodbc2 instead of unixodbc is supported starting in Qt 4.6.
 
<sup>6</sup> Need to run “ln ‑s libfbclient.so /usr/lib/libgds.so” after installing the package.
 
===Categories:===
 
* [[:Category:Developing-with-Qt|Developing with Qt]]
** [[:Category:Developing-with-Qt::General|General]]
* [[:Category:HowTo|HowTo]]
* [[:Category:Instructions|Instructions]]

Latest revision as of 13:18, 15 September 2015