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:
[[Category:QtInternals]]<br />[[Category:Developing with Qt]]<br />[toc align_right=&quot;yes&amp;quot; depth=&quot;3&amp;quot;]
[[Category:QtInternals]]
[[Category:Developing with Qt]]
[toc align_right="yes" depth="3"]


= Dependencies in Qt 4. =
= Dependencies in Qt 4. =
Line 5: Line 7:
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.


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


== How to show dependencies ==
== How to show dependencies ==
Line 18: Line 20:
!Other Dependencies
!Other Dependencies
|-
|-
|&lt;. '''QtCore'''
|<. '''QtCore'''
|&lt;. ''none (QtCore is the base of all)''
|<. ''none (QtCore is the base of all)''
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtGui'''
|<. '''QtGui'''
|&lt;. QtCore
|<. QtCore
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''Qt3Support'''
|<. '''Qt3Support'''
|&lt;. QtCore, QtGui, QtNetwork, QtSql, QtXml
|<. QtCore, QtGui, QtNetwork, QtSql, QtXml
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtDeclarative'''
|<. '''QtDeclarative'''
|&lt;. QtCore, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXmlPatterns
|<. QtCore, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXmlPatterns
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtDesigner'''
|<. '''QtDesigner'''
|&lt;. QtCore, QtGui, QtScript, QtXml
|<. QtCore, QtGui, QtScript, QtXml
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtDesignerComponents'''
|<. '''QtDesignerComponents'''
|&lt;. QtCore, QtDesigner, QtGui, QtScript, QtXml
|<. QtCore, QtDesigner, QtGui, QtScript, QtXml
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtHelp'''
|<. '''QtHelp'''
|&lt;. QtCore, QtGui, QtNetwork, QtSql, QtXml, libQtCLucene
|<. QtCore, QtGui, QtNetwork, QtSql, QtXml, libQtCLucene
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtMultimedia'''
|<. '''QtMultimedia'''
|&lt;. QtCore, QtGui
|<. QtCore, QtGui
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtNetwork'''
|<. '''QtNetwork'''
|&lt;. QtCore
|<. QtCore
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtOpenGL'''
|<. '''QtOpenGL'''
|&lt;. QtCore, QtGui
|<. QtCore, QtGui
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtScript'''
|<. '''QtScript'''
|&lt;. QtCore
|<. QtCore
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtScriptTools'''
|<. '''QtScriptTools'''
|&lt;. QtCore, QtGui, QtScript
|<. QtCore, QtGui, QtScript
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtSql'''
|<. '''QtSql'''
|&lt;. QtCore
|<. QtCore
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtSvg'''
|<. '''QtSvg'''
|&lt;. QtCore, QtGui
|<. QtCore, QtGui
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtTest'''
|<. '''QtTest'''
|&lt;. QtCore
|<. QtCore
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtWebKit'''
|<. '''QtWebKit'''
|&lt;. QtCore, QtGui, QtNetwork, phonon
|<. QtCore, QtGui, QtNetwork, phonon
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtXml'''
|<. '''QtXml'''
|&lt;. QtCore
|<. QtCore
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''QtXmlPatterns'''
|<. '''QtXmlPatterns'''
|&lt;. QtCore, QtNetwork
|<. QtCore, QtNetwork
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''phonon'''
|<. '''phonon'''
|&lt;. QtCore, QtGui
|<. QtCore, QtGui
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libQtCLucene'''
|<. '''libQtCLucene'''
|&lt;. QtCore
|<. QtCore
|&lt;. ?
|<. ?
|}
|}


Line 108: Line 110:
!Other Dependencies
!Other Dependencies
|-
|-
|&lt;. '''libqtaccessiblewidgets'''
|<. '''libqtaccessiblewidgets'''
|&lt;. QtCore, QtGui
|<. QtCore, QtGui
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqtaccessiblecompatwidgets'''
|<. '''libqtaccessiblecompatwidgets'''
|&lt;. QtCore, QtGui, Qt3Support, QtNetwork, QtSql, QtXml
|<. QtCore, QtGui, Qt3Support, QtNetwork, QtSql, QtXml
|&lt;. ?
|<. ?
|}
|}


Line 124: Line 126:
!Other Dependencies
!Other Dependencies
|-
|-
|&lt;. '''libqgenericbearer'''
|<. '''libqgenericbearer'''
|&lt;. QtCore, QtNetwork
|<. QtCore, QtNetwork
|&lt;. ?
|<. ?
|}
|}


Line 136: Line 138:
!Other Dependencies
!Other Dependencies
|-
|-
|&lt;. '''libqcncodecs'''
|<. '''libqcncodecs'''
|&lt;. QtCore
|<. QtCore
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqjpcodecs'''
|<. '''libqjpcodecs'''
|&lt;. QtCore
|<. QtCore
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqkrcodecs'''
|<. '''libqkrcodecs'''
|&lt;. QtCore
|<. QtCore
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqtwcodecs'''
|<. '''libqtwcodecs'''
|&lt;. QtCore
|<. QtCore
|&lt;. ?
|<. ?
|}
|}


Line 160: Line 162:
!Other Dependencies
!Other Dependencies
|-
|-
|&lt;. '''libphononwidgets'''
|<. '''libphononwidgets'''
|&lt;. QtCore, QtDesigner, QtGui, QtScript, QtXml, phonon
|<. QtCore, QtDesigner, QtGui, QtScript, QtXml, phonon
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqdeclarativeview'''
|<. '''libqdeclarativeview'''
|&lt;. QtCore, QtDeclarative, QtDesigner, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXml, QtXmlPatterns
|<. QtCore, QtDeclarative, QtDesigner, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXml, QtXmlPatterns
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqt3supportwidgets'''
|<. '''libqt3supportwidgets'''
|&lt;. QtCore, Qt3Support, QtDesigner, QtGui, QtNetwork, QtScript, QtSql, QtXml
|<. QtCore, Qt3Support, QtDesigner, QtGui, QtNetwork, QtScript, QtSql, QtXml
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqwebview'''
|<. '''libqwebview'''
|&lt;. QtCore, QtDesigner, QtGui, QtScript, QtWebKit, QtXml, (QtNetwork, phonon)
|<. QtCore, QtDesigner, QtGui, QtScript, QtWebKit, QtXml, (QtNetwork, phonon)
|&lt;. ?
|<. ?
|}
|}


Line 184: Line 186:
!Other Dependencies
!Other Dependencies
|-
|-
|&lt;. '''libqglgraphicssystem'''
|<. '''libqglgraphicssystem'''
|&lt;. QtCore, QtGui, QtOpenGL
|<. QtCore, QtGui, QtOpenGL
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqtracegraphicssystem'''
|<. '''libqtracegraphicssystem'''
|&lt;. QtCore, QtGui, QtNetwork
|<. QtCore, QtGui, QtNetwork
|&lt;. ?
|<. ?
|}
|}


Line 200: Line 202:
!Other Dependencies
!Other Dependencies
|-
|-
|&lt;. '''libqsvgicon'''
|<. '''libqsvgicon'''
|&lt;. QtCore, QtGui, QtSvg, QtXml
|<. QtCore, QtGui, QtSvg, QtXml
|&lt;. ?
|<. ?
|}
|}


Line 212: Line 214:
!Other Dependencies
!Other Dependencies
|-
|-
|&lt;. '''libqgif'''
|<. '''libqgif'''
|&lt;. QtCore, QtGui
|<. QtCore, QtGui
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqico'''
|<. '''libqico'''
|&lt;. QtCore, QtGui
|<. QtCore, QtGui
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqjpeg'''
|<. '''libqjpeg'''
|&lt;. QtCore, QtGui
|<. QtCore, QtGui
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqmng'''
|<. '''libqmng'''
|&lt;. QtCore, QtGui
|<. QtCore, QtGui
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqsvg'''
|<. '''libqsvg'''
|&lt;. QtCore, QtGui, QtSvg, QtXml
|<. QtCore, QtGui, QtSvg, QtXml
|&lt;. ?
|<. ?
|}
|}


Line 241: Line 243:
!Other Dependencies
!Other Dependencies
|-
|-
|&lt;. '''libphonon_qt7'''
|<. '''libphonon_qt7'''
|&lt;. Mac
|<. Mac
|&lt;. QtCore, QtGui, QtOpenGL, phonon
|<. QtCore, QtGui, QtOpenGL, phonon
|&lt;. QuickTime
|<. QuickTime
|}
|}


Line 256: Line 258:
!Other Dependencies
!Other Dependencies
|-
|-
|&lt;. '''libqsqlite'''
|<. '''libqsqlite'''
|&lt;. QtCore, QtSql
|<. QtCore, QtSql
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqsqlmysql'''
|<. '''libqsqlmysql'''
|&lt;. QtCore, QtSql
|<. QtCore, QtSql
|&lt;. libmysqlclient
|<. libmysqlclient
|-
|-
|&lt;. '''libqsqlodbc'''
|<. '''libqsqlodbc'''
|&lt;. QtCore, QtSql
|<. QtCore, QtSql
|&lt;. ?
|<. ?
|-
|-
|&lt;. '''libqsqlpsql.'''
|<. '''libqsqlpsql.'''
|&lt;. QtCore, QtSql
|<. QtCore, QtSql
|&lt;. libpq
|<. libpq
|}
|}


Line 277: Line 279:
= Deployment =
= Deployment =


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
The Qt docs contain instructions on how to deploy your application on a non-development machine. The general instructions can be found "here":http://doc.qt.nokia.com/stable/deployment.html. There are additional platform specific instructions for


* &quot;X11&amp;quot;:http://doc.qt.nokia.com/stable/deployment-x11.html
* "X11":http://doc.qt.nokia.com/stable/deployment-x11.html
* &quot;Windows&amp;quot;:http://doc.qt.nokia.com/stable/deployment-windows.html
* "Windows":http://doc.qt.nokia.com/stable/deployment-windows.html
* &quot;Mac OS X&amp;quot;:http://doc.qt.nokia.com/stable/deployment-mac.html
* "Mac OS X":http://doc.qt.nokia.com/stable/deployment-mac.html
* &quot;Embedded Linux&amp;quot;:http://doc.qt.nokia.com/stable/qt-embedded-deployment.html
* "Embedded Linux":http://doc.qt.nokia.com/stable/qt-embedded-deployment.html
* &quot;Symbian&amp;quot;:http://doc.qt.nokia.com/stable/deployment-symbian.html
* "Symbian":http://doc.qt.nokia.com/stable/deployment-symbian.html

Revision as of 09:33, 25 February 2015

[toc align_right="yes" depth="3"]

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" 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":http://doc.qt.nokia.com/stable/deployment.html. There are additional platform specific instructions for