Qt library cross dependencies: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
=Dependencies in Qt 4.=
[[Category:QtInternals]]<br />[[Category:Developing with Qt]]<br />[toc align_right=&quot;yes&amp;quot; depth=&quot;3&amp;quot;]
 
= Dependencies in Qt 4. =


Some of the more advanced functions and modules Qt often need other modules (libraries) as prerequsites. The same holds for the many plugins that can extend functionality. The following tables list all these dependencies on a per module/per plugin base.
Some of the more advanced functions and modules Qt often need other modules (libraries) as prerequsites. The same holds for the many plugins that can extend functionality. The following tables list all these dependencies on a per module/per plugin base.


'''''<span class="caps">WARNING</span>:''' The “Other Dependencies” column of the tables is not complete!''
'''''WARNING:''' The &quot;Other Dependencies&amp;quot; column of the tables is not complete!''


==How to show dependencies==
== How to show dependencies ==


The way to show the dependencies varies from platform to platform. It’s explained in detail in the [[Show library dependencies|Show_library_dependencies]] wiki article.
The way to show the dependencies varies from platform to platform. It's explained in detail in the [[Show_library_dependencies]] wiki article.


==Qt libs==
== Qt libs ==


{| class="infotable line"
{|
! Library
!Library
! Qt Dependencies
!Qt Dependencies
! Other Dependencies
!Other Dependencies
|-
|-
| style="text-align: left" | '''QtCore'''
|&lt;. '''QtCore'''
| style="text-align: left" | ''none (QtCore is the base of all)''
|&lt;. ''none (QtCore is the base of all)''
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtGui'''
|&lt;. '''QtGui'''
| style="text-align: left" | QtCore
|&lt;. QtCore
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''Qt3Support'''
|&lt;. '''Qt3Support'''
| style="text-align: left" | QtCore, QtGui, QtNetwork, QtSql, QtXml
|&lt;. QtCore, QtGui, QtNetwork, QtSql, QtXml
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtDeclarative'''
|&lt;. '''QtDeclarative'''
| style="text-align: left" | QtCore, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXmlPatterns
|&lt;. QtCore, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXmlPatterns
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtDesigner'''
|&lt;. '''QtDesigner'''
| style="text-align: left" | QtCore, QtGui, QtScript, QtXml
|&lt;. QtCore, QtGui, QtScript, QtXml
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtDesignerComponents'''
|&lt;. '''QtDesignerComponents'''
| style="text-align: left" | QtCore, QtDesigner, QtGui, QtScript, QtXml
|&lt;. QtCore, QtDesigner, QtGui, QtScript, QtXml
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtHelp'''
|&lt;. '''QtHelp'''
| style="text-align: left" | QtCore, QtGui, QtNetwork, QtSql, QtXml, libQtCLucene
|&lt;. QtCore, QtGui, QtNetwork, QtSql, QtXml, libQtCLucene
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtMultimedia'''
|&lt;. '''QtMultimedia'''
| style="text-align: left" | QtCore, QtGui
|&lt;. QtCore, QtGui
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtNetwork'''
|&lt;. '''QtNetwork'''
| style="text-align: left" | QtCore
|&lt;. QtCore
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtOpenGL'''
|&lt;. '''QtOpenGL'''
| style="text-align: left" | QtCore, QtGui
|&lt;. QtCore, QtGui
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtScript'''
|&lt;. '''QtScript'''
| style="text-align: left" | QtCore
|&lt;. QtCore
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtScriptTools'''
|&lt;. '''QtScriptTools'''
| style="text-align: left" | QtCore, QtGui, QtScript
|&lt;. QtCore, QtGui, QtScript
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtSql'''
|&lt;. '''QtSql'''
| style="text-align: left" | QtCore
|&lt;. QtCore
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtSvg'''
|&lt;. '''QtSvg'''
| style="text-align: left" | QtCore, QtGui
|&lt;. QtCore, QtGui
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtTest'''
|&lt;. '''QtTest'''
| style="text-align: left" | QtCore
|&lt;. QtCore
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtWebKit'''
|&lt;. '''QtWebKit'''
| style="text-align: left" | QtCore, QtGui, QtNetwork, phonon
|&lt;. QtCore, QtGui, QtNetwork, phonon
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtXml'''
|&lt;. '''QtXml'''
| style="text-align: left" | QtCore
|&lt;. QtCore
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''QtXmlPatterns'''
|&lt;. '''QtXmlPatterns'''
| style="text-align: left" | QtCore, QtNetwork
|&lt;. QtCore, QtNetwork
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''phonon'''
|&lt;. '''phonon'''
| style="text-align: left" | QtCore, QtGui
|&lt;. QtCore, QtGui
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libQtCLucene'''
|&lt;. '''libQtCLucene'''
| style="text-align: left" | QtCore
|&lt;. QtCore
| style="text-align: left" | ?
|&lt;. ?
|}
|}


==PlugIns==
== PlugIns ==


===accessible===
=== accessible ===


{| class="infotable line"
{|
! Library
!Library
! Qt Dependencies
!Qt Dependencies
! Other Dependencies
!Other Dependencies
|-
|-
| style="text-align: left" | '''libqtaccessiblewidgets'''
|&lt;. '''libqtaccessiblewidgets'''
| style="text-align: left" | QtCore, QtGui
|&lt;. QtCore, QtGui
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqtaccessiblecompatwidgets'''
|&lt;. '''libqtaccessiblecompatwidgets'''
| style="text-align: left" | QtCore, QtGui, Qt3Support, QtNetwork, QtSql, QtXml
|&lt;. QtCore, QtGui, Qt3Support, QtNetwork, QtSql, QtXml
| style="text-align: left" | ?
|&lt;. ?
|}
|}


===bearer===
=== bearer ===


{| class="infotable line"
{|
! Library
!Library
! Qt Dependencies
!Qt Dependencies
! Other Dependencies
!Other Dependencies
|-
|-
| style="text-align: left" | '''libqgenericbearer'''
|&lt;. '''libqgenericbearer'''
| style="text-align: left" | QtCore, QtNetwork
|&lt;. QtCore, QtNetwork
| style="text-align: left" | ?
|&lt;. ?
|}
|}


===codecs===
=== codecs ===


{| class="infotable line"
{|
! Library
!Library
! Qt Dependencies
!Qt Dependencies
! Other Dependencies
!Other Dependencies
|-
|-
| style="text-align: left" | '''libqcncodecs'''
|&lt;. '''libqcncodecs'''
| style="text-align: left" | QtCore
|&lt;. QtCore
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqjpcodecs'''
|&lt;. '''libqjpcodecs'''
| style="text-align: left" | QtCore
|&lt;. QtCore
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqkrcodecs'''
|&lt;. '''libqkrcodecs'''
| style="text-align: left" | QtCore
|&lt;. QtCore
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqtwcodecs'''
|&lt;. '''libqtwcodecs'''
| style="text-align: left" | QtCore
|&lt;. QtCore
| style="text-align: left" | ?
|&lt;. ?
|}
|}


===designer===
=== designer ===


{| class="infotable line"
{|
! Library
!Library
! Qt Dependencies
!Qt Dependencies
! Other Dependencies
!Other Dependencies
|-
|-
| style="text-align: left" | '''libphononwidgets'''
|&lt;. '''libphononwidgets'''
| style="text-align: left" | QtCore, QtDesigner, QtGui, QtScript, QtXml, phonon
|&lt;. QtCore, QtDesigner, QtGui, QtScript, QtXml, phonon
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqdeclarativeview'''
|&lt;. '''libqdeclarativeview'''
| style="text-align: left" | QtCore, QtDeclarative, QtDesigner, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXml, QtXmlPatterns
|&lt;. QtCore, QtDeclarative, QtDesigner, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXml, QtXmlPatterns
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqt3supportwidgets'''
|&lt;. '''libqt3supportwidgets'''
| style="text-align: left" | QtCore, Qt3Support, QtDesigner, QtGui, QtNetwork, QtScript, QtSql, QtXml
|&lt;. QtCore, Qt3Support, QtDesigner, QtGui, QtNetwork, QtScript, QtSql, QtXml
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqwebview'''
|&lt;. '''libqwebview'''
| style="text-align: left" | QtCore, QtDesigner, QtGui, QtScript, QtWebKit, QtXml, (QtNetwork, phonon)
|&lt;. QtCore, QtDesigner, QtGui, QtScript, QtWebKit, QtXml, (QtNetwork, phonon)
| style="text-align: left" | ?
|&lt;. ?
|}
|}


===graphicssystems===
=== graphicssystems ===


{| class="infotable line"
{|
! Library
!Library
! Qt Dependencies
!Qt Dependencies
! Other Dependencies
!Other Dependencies
|-
|-
| style="text-align: left" | '''libqglgraphicssystem'''
|&lt;. '''libqglgraphicssystem'''
| style="text-align: left" | QtCore, QtGui, QtOpenGL
|&lt;. QtCore, QtGui, QtOpenGL
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqtracegraphicssystem'''
|&lt;. '''libqtracegraphicssystem'''
| style="text-align: left" | QtCore, QtGui, QtNetwork
|&lt;. QtCore, QtGui, QtNetwork
| style="text-align: left" | ?
|&lt;. ?
|}
|}


===iconengines===
=== iconengines ===


{| class="infotable line"
{|
! Library
!Library
! Qt Dependencies
!Qt Dependencies
! Other Dependencies
!Other Dependencies
|-
|-
| style="text-align: left" | '''libqsvgicon'''
|&lt;. '''libqsvgicon'''
| style="text-align: left" | QtCore, QtGui, QtSvg, QtXml
|&lt;. QtCore, QtGui, QtSvg, QtXml
| style="text-align: left" | ?
|&lt;. ?
|}
|}


===imageformats===
=== imageformats ===


{| class="infotable line"
{|
! Library
!Library
! Qt Dependencies
!Qt Dependencies
! Other Dependencies
!Other Dependencies
|-
|-
| style="text-align: left" | '''libqgif'''
|&lt;. '''libqgif'''
| style="text-align: left" | QtCore, QtGui
|&lt;. QtCore, QtGui
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqico'''
|&lt;. '''libqico'''
| style="text-align: left" | QtCore, QtGui
|&lt;. QtCore, QtGui
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqjpeg'''
|&lt;. '''libqjpeg'''
| style="text-align: left" | QtCore, QtGui
|&lt;. QtCore, QtGui
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqmng'''
|&lt;. '''libqmng'''
| style="text-align: left" | QtCore, QtGui
|&lt;. QtCore, QtGui
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqsvg'''
|&lt;. '''libqsvg'''
| style="text-align: left" | QtCore, QtGui, QtSvg, QtXml
|&lt;. QtCore, QtGui, QtSvg, QtXml
| style="text-align: left" | ?
|&lt;. ?
|}
|}


===phonon_backend===
=== phonon_backend ===


{| class="infotable line"
{|
! Library
!Library
! Platform
!Platform
! Qt Dependencies
!Qt Dependencies
! Other Dependencies
!Other Dependencies
|-
|-
| style="text-align: left" | '''libphonon_qt7'''
|&lt;. '''libphonon_qt7'''
| style="text-align: left" | Mac
|&lt;. Mac
| style="text-align: left" | QtCore, QtGui, QtOpenGL, phonon
|&lt;. QtCore, QtGui, QtOpenGL, phonon
| style="text-align: left" | QuickTime
|&lt;. QuickTime
|}
|}


Other backends are missing.
Other backends are missing.


===sqldrivers===
=== sqldrivers ===


{| class="infotable line"
{|
! Library
!Library
! Qt Dependencies
!Qt Dependencies
! Other Dependencies
!Other Dependencies
|-
|-
| style="text-align: left" | '''libqsqlite'''
|&lt;. '''libqsqlite'''
| style="text-align: left" | QtCore, QtSql
|&lt;. QtCore, QtSql
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqsqlmysql'''
|&lt;. '''libqsqlmysql'''
| style="text-align: left" | QtCore, QtSql
|&lt;. QtCore, QtSql
| style="text-align: left" | libmysqlclient
|&lt;. libmysqlclient
|-
|-
| style="text-align: left" | '''libqsqlodbc'''
|&lt;. '''libqsqlodbc'''
| style="text-align: left" | QtCore, QtSql
|&lt;. QtCore, QtSql
| style="text-align: left" | ?
|&lt;. ?
|-
|-
| style="text-align: left" | '''libqsqlpsql.'''
|&lt;. '''libqsqlpsql.'''
| style="text-align: left" | QtCore, QtSql
|&lt;. QtCore, QtSql
| style="text-align: left" | libpq
|&lt;. libpq
|}
|}


Some more drivers are missing (db2, ibase, oci, tds).
Some more drivers are missing (db2, ibase, oci, tds).


=Deployment=
= Deployment =
 
The Qt docs contain instructions on how to deploy your application on a non-development machine. The general instructions can be found [http://doc.qt.nokia.com/stable/deployment.html here] ''[doc.qt.nokia.com]''. There are additional platform specific instructions for
 
* [http://doc.qt.nokia.com/stable/deployment-x11.html X11] ''[doc.qt.nokia.com]''
* [http://doc.qt.nokia.com/stable/deployment-windows.html Windows] ''[doc.qt.nokia.com]''
* [http://doc.qt.nokia.com/stable/deployment-mac.html Mac OS X] ''[doc.qt.nokia.com]''
* [http://doc.qt.nokia.com/stable/qt-embedded-deployment.html Embedded Linux] ''[doc.qt.nokia.com]''
* [http://doc.qt.nokia.com/stable/deployment-symbian.html Symbian] ''[doc.qt.nokia.com]''


===Categories:===
The Qt docs contain instructions on how to deploy your application on a non-development machine. The general instructions can be found &quot;here&amp;quot;:http://doc.qt.nokia.com/stable/deployment.html. There are additional platform specific instructions for


* [[:Category:Developing-with-Qt|Developing with Qt]]
* &quot;X11&amp;quot;:http://doc.qt.nokia.com/stable/deployment-x11.html
* [[:Category:QtInternals|QtInternals]]
* &quot;Windows&amp;quot;:http://doc.qt.nokia.com/stable/deployment-windows.html
* &quot;Mac OS X&amp;quot;:http://doc.qt.nokia.com/stable/deployment-mac.html
* &quot;Embedded Linux&amp;quot;:http://doc.qt.nokia.com/stable/qt-embedded-deployment.html
* &quot;Symbian&amp;quot;:http://doc.qt.nokia.com/stable/deployment-symbian.html

Revision as of 10:18, 24 February 2015



[toc align_right="yes&quot; depth="3&quot;]

Dependencies in Qt 4.

Some of the more advanced functions and modules Qt often need other modules (libraries) as prerequsites. The same holds for the many plugins that can extend functionality. The following tables list all these dependencies on a per module/per plugin base.

WARNING: The "Other Dependencies&quot; column of the tables is not complete!

How to show dependencies

The way to show the dependencies varies from platform to platform. It's explained in detail in the Show_library_dependencies wiki article.

Qt libs

Library Qt Dependencies Other Dependencies
<. QtCore <. none (QtCore is the base of all) <. ?
<. QtGui <. QtCore <. ?
<. Qt3Support <. QtCore, QtGui, QtNetwork, QtSql, QtXml <. ?
<. QtDeclarative <. QtCore, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXmlPatterns <. ?
<. QtDesigner <. QtCore, QtGui, QtScript, QtXml <. ?
<. QtDesignerComponents <. QtCore, QtDesigner, QtGui, QtScript, QtXml <. ?
<. QtHelp <. QtCore, QtGui, QtNetwork, QtSql, QtXml, libQtCLucene <. ?
<. QtMultimedia <. QtCore, QtGui <. ?
<. QtNetwork <. QtCore <. ?
<. QtOpenGL <. QtCore, QtGui <. ?
<. QtScript <. QtCore <. ?
<. QtScriptTools <. QtCore, QtGui, QtScript <. ?
<. QtSql <. QtCore <. ?
<. QtSvg <. QtCore, QtGui <. ?
<. QtTest <. QtCore <. ?
<. QtWebKit <. QtCore, QtGui, QtNetwork, phonon <. ?
<. QtXml <. QtCore <. ?
<. QtXmlPatterns <. QtCore, QtNetwork <. ?
<. phonon <. QtCore, QtGui <. ?
<. libQtCLucene <. QtCore <. ?

PlugIns

accessible

Library Qt Dependencies Other Dependencies
<. libqtaccessiblewidgets <. QtCore, QtGui <. ?
<. libqtaccessiblecompatwidgets <. QtCore, QtGui, Qt3Support, QtNetwork, QtSql, QtXml <. ?

bearer

Library Qt Dependencies Other Dependencies
<. libqgenericbearer <. QtCore, QtNetwork <. ?

codecs

Library Qt Dependencies Other Dependencies
<. libqcncodecs <. QtCore <. ?
<. libqjpcodecs <. QtCore <. ?
<. libqkrcodecs <. QtCore <. ?
<. libqtwcodecs <. QtCore <. ?

designer

Library Qt Dependencies Other Dependencies
<. libphononwidgets <. QtCore, QtDesigner, QtGui, QtScript, QtXml, phonon <. ?
<. libqdeclarativeview <. QtCore, QtDeclarative, QtDesigner, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXml, QtXmlPatterns <. ?
<. libqt3supportwidgets <. QtCore, Qt3Support, QtDesigner, QtGui, QtNetwork, QtScript, QtSql, QtXml <. ?
<. libqwebview <. QtCore, QtDesigner, QtGui, QtScript, QtWebKit, QtXml, (QtNetwork, phonon) <. ?

graphicssystems

Library Qt Dependencies Other Dependencies
<. libqglgraphicssystem <. QtCore, QtGui, QtOpenGL <. ?
<. libqtracegraphicssystem <. QtCore, QtGui, QtNetwork <. ?

iconengines

Library Qt Dependencies Other Dependencies
<. libqsvgicon <. QtCore, QtGui, QtSvg, QtXml <. ?

imageformats

Library Qt Dependencies Other Dependencies
<. libqgif <. QtCore, QtGui <. ?
<. libqico <. QtCore, QtGui <. ?
<. libqjpeg <. QtCore, QtGui <. ?
<. libqmng <. QtCore, QtGui <. ?
<. libqsvg <. QtCore, QtGui, QtSvg, QtXml <. ?

phonon_backend

Library Platform Qt Dependencies Other Dependencies
<. libphonon_qt7 <. Mac <. QtCore, QtGui, QtOpenGL, phonon <. QuickTime

Other backends are missing.

sqldrivers

Library Qt Dependencies Other Dependencies
<. libqsqlite <. QtCore, QtSql <. ?
<. libqsqlmysql <. QtCore, QtSql <. libmysqlclient
<. libqsqlodbc <. QtCore, QtSql <. ?
<. libqsqlpsql. <. QtCore, QtSql <. libpq

Some more drivers are missing (db2, ibase, oci, tds).

Deployment

The Qt docs contain instructions on how to deploy your application on a non-development machine. The general instructions can be found "here&quot;:http://doc.qt.nokia.com/stable/deployment.html. There are additional platform specific instructions for