Qt Library Cross Dependencies: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Henri Vikki (talk | contribs) (Formatting & doc links) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:QtInternals]] | |||
[[Category:QtInternals]] | |||
[[Category:Developing with Qt]] | |||
= Dependencies in Qt 4. = | = Dependencies in Qt 4. = | ||
Line 5: | Line 8: | ||
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 13: | Line 16: | ||
== Qt libs == | == Qt libs == | ||
{| | {| class="wikitable" | ||
!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 | ||
| | | ? | ||
|} | |} | ||
Line 103: | Line 106: | ||
=== accessible === | === accessible === | ||
{| | {| class="wikitable" | ||
!Library | !Library | ||
!Qt Dependencies | !Qt Dependencies | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | | '''libqtaccessiblewidgets''' | ||
| | | QtCore, QtGui | ||
| | |? | ||
|- | |- | ||
| | | '''libqtaccessiblecompatwidgets''' | ||
| | | QtCore, QtGui, Qt3Support, QtNetwork, QtSql, QtXml | ||
| | | ? | ||
|} | |} | ||
=== bearer === | === bearer === | ||
{| | {| class="wikitable" | ||
!Library | !Library | ||
!Qt Dependencies | !Qt Dependencies | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | | '''libqgenericbearer''' | ||
| | | QtCore, QtNetwork | ||
| | | ? | ||
|} | |} | ||
=== codecs === | === codecs === | ||
{| | {| class="wikitable" | ||
!Library | !Library | ||
!Qt Dependencies | !Qt Dependencies | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | | '''libqcncodecs''' | ||
| | | QtCore | ||
| | | ? | ||
|- | |- | ||
| | | '''libqjpcodecs''' | ||
| | | QtCore | ||
| | | ? | ||
|- | |- | ||
| | | '''libqkrcodecs''' | ||
| | | QtCore | ||
| | | ? | ||
|- | |- | ||
| | | '''libqtwcodecs''' | ||
| | | QtCore | ||
| | | ? | ||
|} | |} | ||
=== designer === | === designer === | ||
{| | {| class="wikitable" | ||
!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 === | ||
{| | {| class="wikitable" | ||
!Library | !Library | ||
!Qt Dependencies | !Qt Dependencies | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | | '''libqglgraphicssystem''' | ||
| | | QtCore, QtGui, QtOpenGL | ||
| | | ? | ||
|- | |- | ||
| | | '''libqtracegraphicssystem''' | ||
| | | QtCore, QtGui, QtNetwork | ||
| | | ? | ||
|} | |} | ||
=== iconengines === | === iconengines === | ||
{| | {| class="wikitable" | ||
!Library | !Library | ||
!Qt Dependencies | !Qt Dependencies | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | | '''libqsvgicon''' | ||
| | | QtCore, QtGui, QtSvg, QtXml | ||
| | | ? | ||
|} | |} | ||
=== imageformats === | === imageformats === | ||
{| | {| class="wikitable" | ||
!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 === | ||
{| | {| class="wikitable" | ||
!Library | !Library | ||
!Platform | !Platform | ||
Line 241: | Line 244: | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | | '''libphonon_qt7''' | ||
| | | Mac | ||
| | | QtCore, QtGui, QtOpenGL, phonon | ||
| | | QuickTime | ||
|} | |} | ||
Line 251: | Line 254: | ||
=== sqldrivers === | === sqldrivers === | ||
{| | {| class="wikitable" | ||
!Library | !Library | ||
!Qt Dependencies | !Qt Dependencies | ||
!Other Dependencies | !Other Dependencies | ||
|- | |- | ||
| | | '''libqsqlite''' | ||
| | | QtCore, QtSql | ||
| | | ? | ||
|- | |- | ||
| | | '''libqsqlmysql''' | ||
| | | QtCore, QtSql | ||
| | | libmysqlclient | ||
|- | |- | ||
| | | '''libqsqlodbc''' | ||
| | | QtCore, QtSql | ||
| | | ? | ||
|- | |- | ||
| | | '''libqsqlpsql.''' | ||
| | | QtCore, QtSql | ||
| | | libpq | ||
|} | |} | ||
Line 277: | 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 | 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 | ||
* | * [http://doc.qt.io/qt-5/linux-deployment.html X11] | ||
* | * [http://doc.qt.io/qt-5/windows-deployment.html Windows] | ||
* | * [http://doc.qt.io/qt-5/osx.html Mac OS X] | ||
* | * [http://doc.qt.io/qt-5/embedded-linux.html Embedded Linux] | ||
* | * [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