Qt library cross dependencies: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:QtInternals]] | [[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 | '''''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 | ||
|- | |- | ||
| | |<. '''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 | ||
| | |<. ? | ||
|} | |} | ||
Line 108: | Line 110: | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqtaccessiblewidgets''' | ||
| | |<. QtCore, QtGui | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqtaccessiblecompatwidgets''' | ||
| | |<. QtCore, QtGui, Qt3Support, QtNetwork, QtSql, QtXml | ||
| | |<. ? | ||
|} | |} | ||
Line 124: | Line 126: | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqgenericbearer''' | ||
| | |<. QtCore, QtNetwork | ||
| | |<. ? | ||
|} | |} | ||
Line 136: | Line 138: | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqcncodecs''' | ||
| | |<. QtCore | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqjpcodecs''' | ||
| | |<. QtCore | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqkrcodecs''' | ||
| | |<. QtCore | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqtwcodecs''' | ||
| | |<. QtCore | ||
| | |<. ? | ||
|} | |} | ||
Line 160: | Line 162: | ||
!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) | ||
| | |<. ? | ||
|} | |} | ||
Line 184: | Line 186: | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqglgraphicssystem''' | ||
| | |<. QtCore, QtGui, QtOpenGL | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqtracegraphicssystem''' | ||
| | |<. QtCore, QtGui, QtNetwork | ||
| | |<. ? | ||
|} | |} | ||
Line 200: | Line 202: | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqsvgicon''' | ||
| | |<. QtCore, QtGui, QtSvg, QtXml | ||
| | |<. ? | ||
|} | |} | ||
Line 212: | Line 214: | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqgif''' | ||
| | |<. QtCore, QtGui | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqico''' | ||
| | |<. QtCore, QtGui | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqjpeg''' | ||
| | |<. QtCore, QtGui | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqmng''' | ||
| | |<. QtCore, QtGui | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqsvg''' | ||
| | |<. QtCore, QtGui, QtSvg, QtXml | ||
| | |<. ? | ||
|} | |} | ||
Line 241: | Line 243: | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libphonon_qt7''' | ||
| | |<. Mac | ||
| | |<. QtCore, QtGui, QtOpenGL, phonon | ||
| | |<. QuickTime | ||
|} | |} | ||
Line 256: | Line 258: | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | |<. '''libqsqlite''' | ||
| | |<. QtCore, QtSql | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqsqlmysql''' | ||
| | |<. QtCore, QtSql | ||
| | |<. libmysqlclient | ||
|- | |- | ||
| | |<. '''libqsqlodbc''' | ||
| | |<. QtCore, QtSql | ||
| | |<. ? | ||
|- | |- | ||
| | |<. '''libqsqlpsql.''' | ||
| | |<. QtCore, QtSql | ||
| | |<. 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 | 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 |
Revision as of 10:39, 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
- "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