Qt Library Cross Dependencies: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
(Formatting & doc links)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:QtInternals]]
[[Category:QtInternals]]
[[Category:Developing with Qt]]
[[Category:Developing with Qt]]
[toc align_right="yes" depth="3"]
 


= Dependencies in Qt 4. =
= Dependencies in Qt 4. =
Line 15: Line 16:
== Qt libs ==
== Qt libs ==


{|
{| class="wikitable"
!Library
!Library
!Qt Dependencies
!Qt Dependencies
!Other Dependencies
!Other Dependencies
|-
|-
|<. '''QtCore'''
| '''QtCore'''
|<. ''none (QtCore is the base of all)''
| ''none (QtCore is the base of all)''
|<. ?
| ?
|-
|-
|<. '''QtGui'''
| '''QtGui'''
|<. QtCore
| QtCore
|<. ?
| ?
|-
|-
|<. '''Qt3Support'''
| '''Qt3Support'''
|<. QtCore, QtGui, QtNetwork, QtSql, QtXml
| QtCore, QtGui, QtNetwork, QtSql, QtXml
|<. ?
| ?
|-
|-
|<. '''QtDeclarative'''
| '''QtDeclarative'''
|<. QtCore, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXmlPatterns
| QtCore, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXmlPatterns
|<. ?
| ?
|-
|-
|<. '''QtDesigner'''
| '''QtDesigner'''
|<. QtCore, QtGui, QtScript, QtXml
| QtCore, QtGui, QtScript, QtXml
|<. ?
| ?
|-
|-
|<. '''QtDesignerComponents'''
| '''QtDesignerComponents'''
|<. QtCore, QtDesigner, QtGui, QtScript, QtXml
| QtCore, QtDesigner, QtGui, QtScript, QtXml
|<. ?
|. ?
|-
|-
|<. '''QtHelp'''
| '''QtHelp'''
|<. QtCore, QtGui, QtNetwork, QtSql, QtXml, libQtCLucene
| QtCore, QtGui, QtNetwork, QtSql, QtXml, libQtCLucene
|<. ?
| ?
|-
|-
|<. '''QtMultimedia'''
| '''QtMultimedia'''
|<. QtCore, QtGui
| QtCore, QtGui
|<. ?
| ?
|-
|-
|<. '''QtNetwork'''
| '''QtNetwork'''
|<. QtCore
| QtCore
|<. ?
| ?
|-
|-
|<. '''QtOpenGL'''
| '''QtOpenGL'''
|<. QtCore, QtGui
| QtCore, QtGui
|<. ?
| ?
|-
|-
|<. '''QtScript'''
| '''QtScript'''
|<. QtCore
| QtCore
|<. ?
| ?
|-
|-
|<. '''QtScriptTools'''
| '''QtScriptTools'''
|<. QtCore, QtGui, QtScript
| QtCore, QtGui, QtScript
|<. ?
| ?
|-
|-
|<. '''QtSql'''
| '''QtSql'''
|<. QtCore
| QtCore
|<. ?
| ?
|-
|-
|<. '''QtSvg'''
| '''QtSvg'''
|<. QtCore, QtGui
| QtCore, QtGui
|<. ?
| ?
|-
|-
|<. '''QtTest'''
| '''QtTest'''
|<. QtCore
| QtCore
|<. ?
| ?
|-
|-
|<. '''QtWebKit'''
| '''QtWebKit'''
|<. QtCore, QtGui, QtNetwork, phonon
| QtCore, QtGui, QtNetwork, phonon
|<. ?
| ?
|-
|-
|<. '''QtXml'''
| '''QtXml'''
|<. QtCore
| QtCore
|<. ?
| ?
|-
|-
|<. '''QtXmlPatterns'''
| '''QtXmlPatterns'''
|<. QtCore, QtNetwork
| QtCore, QtNetwork
|<. ?
| ?
|-
|-
|<. '''phonon'''
| '''phonon'''
|<. QtCore, QtGui
| QtCore, QtGui
|<. ?
| ?
|-
|-
|<. '''libQtCLucene'''
| '''libQtCLucene'''
|<. QtCore
| QtCore
|<. ?
| ?
|}
|}


Line 105: Line 106:
=== accessible ===
=== accessible ===


{|
{| class="wikitable"
!Library
!Library
!Qt Dependencies
!Qt Dependencies
!Other Dependencies
!Other Dependencies
|-
|-
|<. '''libqtaccessiblewidgets'''
| '''libqtaccessiblewidgets'''
|<. QtCore, QtGui
| QtCore, QtGui
|<. ?
|?
|-
|-
|<. '''libqtaccessiblecompatwidgets'''
| '''libqtaccessiblecompatwidgets'''
|<. QtCore, QtGui, Qt3Support, QtNetwork, QtSql, QtXml
| QtCore, QtGui, Qt3Support, QtNetwork, QtSql, QtXml
|<. ?
| ?
|}
|}


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


{|
{| class="wikitable"
!Library
!Library
!Qt Dependencies
!Qt Dependencies
!Other Dependencies
!Other Dependencies
|-
|-
|<. '''libqgenericbearer'''
| '''libqgenericbearer'''
|<. QtCore, QtNetwork
| QtCore, QtNetwork
|<. ?
| ?
|}
|}


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


{|
{| class="wikitable"
!Library
!Library
!Qt Dependencies
!Qt Dependencies
!Other Dependencies
!Other Dependencies
|-
|-
|<. '''libqcncodecs'''
| '''libqcncodecs'''
|<. QtCore
| QtCore
|<. ?
| ?
|-
|-
|<. '''libqjpcodecs'''
| '''libqjpcodecs'''
|<. QtCore
| QtCore
|<. ?
| ?
|-
|-
|<. '''libqkrcodecs'''
| '''libqkrcodecs'''
|<. QtCore
| QtCore
|<. ?
| ?
|-
|-
|<. '''libqtwcodecs'''
| '''libqtwcodecs'''
|<. QtCore
| QtCore
|<. ?
| ?
|}
|}


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


{|
{| class="wikitable"
!Library
!Library
!Qt Dependencies
!Qt Dependencies
!Other Dependencies
!Other Dependencies
|-
|-
|<. '''libphononwidgets'''
| '''libphononwidgets'''
|<. QtCore, QtDesigner, QtGui, QtScript, QtXml, phonon
| QtCore, QtDesigner, QtGui, QtScript, QtXml, phonon
|<. ?
| ?
|-
|-
|<. '''libqdeclarativeview'''
| '''libqdeclarativeview'''
|<. QtCore, QtDeclarative, QtDesigner, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXml, QtXmlPatterns
| QtCore, QtDeclarative, QtDesigner, QtGui, QtNetwork, QtOpenGL, QtScript, QtSql, QtSvg, QtXml, QtXmlPatterns
|<. ?
| ?
|-
|-
|<. '''libqt3supportwidgets'''
| '''libqt3supportwidgets'''
|<. QtCore, Qt3Support, QtDesigner, QtGui, QtNetwork, QtScript, QtSql, QtXml
| QtCore, Qt3Support, QtDesigner, QtGui, QtNetwork, QtScript, QtSql, QtXml
|<. ?
| ?
|-
|-
|<. '''libqwebview'''
| '''libqwebview'''
|<. QtCore, QtDesigner, QtGui, QtScript, QtWebKit, QtXml, (QtNetwork, phonon)
| QtCore, QtDesigner, QtGui, QtScript, QtWebKit, QtXml, (QtNetwork, phonon)
|<. ?
| ?
|}
|}


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


{|
{| class="wikitable"
!Library
!Library
!Qt Dependencies
!Qt Dependencies
!Other Dependencies
!Other Dependencies
|-
|-
|<. '''libqglgraphicssystem'''
| '''libqglgraphicssystem'''
|<. QtCore, QtGui, QtOpenGL
| QtCore, QtGui, QtOpenGL
|<. ?
| ?
|-
|-
|<. '''libqtracegraphicssystem'''
| '''libqtracegraphicssystem'''
|<. QtCore, QtGui, QtNetwork
| QtCore, QtGui, QtNetwork
|<. ?
| ?
|}
|}


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


{|
{| class="wikitable"
!Library
!Library
!Qt Dependencies
!Qt Dependencies
!Other Dependencies
!Other Dependencies
|-
|-
|<. '''libqsvgicon'''
| '''libqsvgicon'''
|<. QtCore, QtGui, QtSvg, QtXml
| QtCore, QtGui, QtSvg, QtXml
|<. ?
| ?
|}
|}


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


{|
{| class="wikitable"
!Library
!Library
!Qt Dependencies
!Qt Dependencies
!Other Dependencies
!Other Dependencies
|-
|-
|<. '''libqgif'''
| '''libqgif'''
|<. QtCore, QtGui
| QtCore, QtGui
|<. ?
| ?
|-
|-
|<. '''libqico'''
| '''libqico'''
|<. QtCore, QtGui
| QtCore, QtGui
|<. ?
| ?
|-
|-
|<. '''libqjpeg'''
| '''libqjpeg'''
|<. QtCore, QtGui
| QtCore, QtGui
|<. ?
| ?
|-
|-
|<. '''libqmng'''
| '''libqmng'''
|<. QtCore, QtGui
| QtCore, QtGui
|<. ?
| ?
|-
|-
|<. '''libqsvg'''
| '''libqsvg'''
|<. QtCore, QtGui, QtSvg, QtXml
| QtCore, QtGui, QtSvg, QtXml
|<. ?
| ?
|}
|}


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


{|
{| class="wikitable"
!Library
!Library
!Platform
!Platform
Line 243: Line 244:
!Other Dependencies
!Other Dependencies
|-
|-
|<. '''libphonon_qt7'''
| '''libphonon_qt7'''
|<. Mac
| Mac
|<. QtCore, QtGui, QtOpenGL, phonon
| QtCore, QtGui, QtOpenGL, phonon
|<. QuickTime
| QuickTime
|}
|}


Line 253: Line 254:
=== sqldrivers ===
=== sqldrivers ===


{|
{| class="wikitable"
!Library
!Library
!Qt Dependencies
!Qt Dependencies
!Other Dependencies
!Other Dependencies
|-
|-
|<. '''libqsqlite'''
| '''libqsqlite'''
|<. QtCore, QtSql
| QtCore, QtSql
|<. ?
| ?
|-
|-
|<. '''libqsqlmysql'''
| '''libqsqlmysql'''
|<. QtCore, QtSql
| QtCore, QtSql
|<. libmysqlclient
| libmysqlclient
|-
|-
|<. '''libqsqlodbc'''
| '''libqsqlodbc'''
|<. QtCore, QtSql
| QtCore, QtSql
|<. ?
| ?
|-
|-
|<. '''libqsqlpsql.'''
| '''libqsqlpsql.'''
|<. QtCore, QtSql
| QtCore, QtSql
|<. libpq
| libpq
|}
|}


Line 279: Line 280:
= Deployment =
= 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
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]. There are additional platform specific instructions for


* "X11":http://doc.qt.nokia.com/stable/deployment-x11.html
* [http://doc.qt.io/qt-5/linux-deployment.html X11]
* "Windows":http://doc.qt.nokia.com/stable/deployment-windows.html
* [http://doc.qt.io/qt-5/windows-deployment.html Windows]
* "Mac OS X":http://doc.qt.nokia.com/stable/deployment-mac.html
* [http://doc.qt.io/qt-5/osx.html Mac OS X]
* "Embedded Linux":http://doc.qt.nokia.com/stable/qt-embedded-deployment.html
* [http://doc.qt.io/qt-5/embedded-linux.html Embedded Linux]
* "Symbian":http://doc.qt.nokia.com/stable/deployment-symbian.html
* [http://doc.qt.io/qt-4.8/deployment-symbian.html Symbian]

Latest revision as of 06:33, 1 April 2015


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. There are additional platform specific instructions for