[Qbs] Donation to QBS developers/maintainers/contributes
chgans at gmail.com
Tue May 14 13:35:49 CEST 2019
On Tue, 14 May 2019 at 23:11, Christian Gagneraud <chgans at gmail.com> wrote:
> On Tue, 14 May 2019 at 22:51, Иван Комиссаров <abbapoh at gmail.com> wrote:
> > Except for GUI and script module, I don't think there's a lot of Qt stuff.
> chgans at chgans-pc:~/Projects/qt-creator/src/shared/qbs$ find src/ -name
> '*.[hc]*' | xargs sed -ne 's, *# *include *<\(Q[^/>.]*\)[/>].*$,\1,gp'
> | sort | uniq -c | sort -nr
> 673 QtCore
> 76 QtScript
> 7 QtGui
> 6 QtWidgets
> 5 QtNetwork
> 1 QtXml
The above is the number of #include in all cpp and h files, per Qt
module. As you can see dependency on QtCore is quite heavy.
And here is the number of cpp/h files using QtScript, per directory:
chgans at chgans-pc:~/Projects/qt-creator/src/shared/qbs$ git grep -l
QtScript src/ | egrep '.(cpp|h)' | xargs dirname | sort | uniq -c |
Ideally you would like to see only jsextensions and language
More information about the Qbs