Qt library cross dependencies: Difference between revisions
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="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. | 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== | == How to show dependencies == | ||
The way to show the dependencies varies from platform to platform. | 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 == | ||
{| | {| | ||
! Library | !Library | ||
! Qt Dependencies | !Qt Dependencies | ||
! Other 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== | == PlugIns == | ||
===accessible=== | === accessible === | ||
{| | {| | ||
! Library | !Library | ||
! Qt Dependencies | !Qt Dependencies | ||
! Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqtaccessiblewidgets''' | ||
| | |<. QtCore, QtGui | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqtaccessiblecompatwidgets''' | ||
| | |<. QtCore, QtGui, Qt3Support, QtNetwork, QtSql, QtXml | ||
| | |<. ? | ||
|} | |} | ||
===bearer=== | === bearer === | ||
{| | {| | ||
! Library | !Library | ||
! Qt Dependencies | !Qt Dependencies | ||
! Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqgenericbearer''' | ||
| | |<. QtCore, QtNetwork | ||
| | |<. ? | ||
|} | |} | ||
===codecs=== | === codecs === | ||
{| | {| | ||
! Library | !Library | ||
! Qt Dependencies | !Qt Dependencies | ||
! Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqcncodecs''' | ||
| | |<. QtCore | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqjpcodecs''' | ||
| | |<. QtCore | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqkrcodecs''' | ||
| | |<. QtCore | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqtwcodecs''' | ||
| | |<. QtCore | ||
| | |<. ? | ||
|} | |} | ||
===designer=== | === designer === | ||
{| | {| | ||
! Library | !Library | ||
! Qt Dependencies | !Qt Dependencies | ||
! Other 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=== | === graphicssystems === | ||
{| | {| | ||
! Library | !Library | ||
! Qt Dependencies | !Qt Dependencies | ||
! Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqglgraphicssystem''' | ||
| | |<. QtCore, QtGui, QtOpenGL | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqtracegraphicssystem''' | ||
| | |<. QtCore, QtGui, QtNetwork | ||
| | |<. ? | ||
|} | |} | ||
===iconengines=== | === iconengines === | ||
{| | {| | ||
! Library | !Library | ||
! Qt Dependencies | !Qt Dependencies | ||
! Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqsvgicon''' | ||
| | |<. QtCore, QtGui, QtSvg, QtXml | ||
| | |<. ? | ||
|} | |} | ||
===imageformats=== | === imageformats === | ||
{| | {| | ||
! Library | !Library | ||
! Qt Dependencies | !Qt Dependencies | ||
! Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqgif''' | ||
| | |<. QtCore, QtGui | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqico''' | ||
| | |<. QtCore, QtGui | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqjpeg''' | ||
| | |<. QtCore, QtGui | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqmng''' | ||
| | |<. QtCore, QtGui | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqsvg''' | ||
| | |<. QtCore, QtGui, QtSvg, QtXml | ||
| | |<. ? | ||
|} | |} | ||
===phonon_backend=== | === phonon_backend === | ||
{| | {| | ||
! Library | !Library | ||
! Platform | !Platform | ||
! Qt Dependencies | !Qt Dependencies | ||
! Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libphonon_qt7''' | ||
| | |<. Mac | ||
| | |<. QtCore, QtGui, QtOpenGL, phonon | ||
| | |<. QuickTime | ||
|} | |} | ||
Other backends are missing. | Other backends are missing. | ||
===sqldrivers=== | === sqldrivers === | ||
{| | {| | ||
! Library | !Library | ||
! Qt Dependencies | !Qt Dependencies | ||
! Other 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). | 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 "here&quot;:http://doc.qt.nokia.com/stable/deployment.html. There are additional platform specific instructions for | |||
* | * "X11&quot;:http://doc.qt.nokia.com/stable/deployment-x11.html | ||
* | * "Windows&quot;:http://doc.qt.nokia.com/stable/deployment-windows.html | ||
* "Mac OS X&quot;:http://doc.qt.nokia.com/stable/deployment-mac.html | |||
* "Embedded Linux&quot;:http://doc.qt.nokia.com/stable/qt-embedded-deployment.html | |||
* "Symbian&quot;:http://doc.qt.nokia.com/stable/deployment-symbian.html |
Revision as of 10:18, 24 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
- "X11":http://doc.qt.nokia.com/stable/deployment-x11.html
- "Windows":http://doc.qt.nokia.com/stable/deployment-windows.html
- "Mac OS X":http://doc.qt.nokia.com/stable/deployment-mac.html
- "Embedded Linux":http://doc.qt.nokia.com/stable/qt-embedded-deployment.html
- "Symbian":http://doc.qt.nokia.com/stable/deployment-symbian.html