源碼中查看qt有哪些module

源碼中查看qt有哪些module

需求

工作中需要靜態交叉編譯qt,在優化編譯出來的程序時,發現有一些程序本不需要的東西被編進程序了,在解決過程中需要知道qt具體的module有哪些,本文章就是在查看源碼的時候發現的。包含了所有的qt module,方便後面有針對性的取用。

方法

  1. 源碼目錄下,用ls -a可以看到一個.gitmodules的目錄,包含的module名就在其中
  2. 使用命令cat .gitmodules | grep submodule | awk -F"\"" '{print $2}',即可得到所有的module 名
qtbase
qtsvg
qtdeclarative
qtactiveqt
qtscript
qtmultimedia
qttools
qtxmlpatterns
qttranslations
qtdoc
qtrepotools
qtqa
qtlocation
qtsensors
qtsystems
qtfeedback
qtdocgallery
qtpim
qtconnectivity
qtwayland
qt3d
qtimageformats
qtgraphicaleffects
qtquickcontrols
qtserialbus
qtserialport
qtx11extras
qtmacextras
qtwinextras
qtandroidextras
qtwebsockets
qtwebchannel
qtwebengine
qtcanvas3d
qtwebview
qtquickcontrols2
qtpurchasing
qtcharts
qtdatavis3d
qtvirtualkeyboard
qtgamepad
qtscxml
qtspeech
qtnetworkauth
qtremoteobjects
qtwebglplugin
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章