Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #26895 > unrolled thread
| Started by | "Jean F. Martinelle" <JFMart@overthere.com> |
|---|---|
| First post | 2019-04-30 18:37 +0000 |
| Last post | 2019-05-01 16:36 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.os.linux.misc
Building Qt5 "Jean F. Martinelle" <JFMart@overthere.com> - 2019-04-30 18:37 +0000
Re: Building Qt5 Eli the Bearded <*@eli.users.panix.com> - 2019-04-30 19:06 +0000
Re: Building Qt5 Rich <rich@example.invalid> - 2019-05-01 16:36 +0000
| From | "Jean F. Martinelle" <JFMart@overthere.com> |
|---|---|
| Date | 2019-04-30 18:37 +0000 |
| Subject | Building Qt5 |
| Message-ID | <qaa4m4$djp$1@news.albasani.net> |
In my Linux system, I can build the Linux kernel with lots of bells and whistles in a matter of minutes. In the same system, building Qt5 takes several hours. Why? Qt5 is 'A free and open-source widget toolkit for creating graphical user interfaces as well as cross-platform applications that run on various software and hardware platforms'. This sounds like something quite narrowly specialized - not something with the breadth and depth of the Linux kernel and its many associated device drivers. What is exactly involved in building Qt5 that requires at least one order of magnitude longer than building the Linux kernel and its many drivers? I am not challenging anything or anyone here - I am just curious. Something that takes hours to build in a modern PC is a big SoB; I just don't understand why or how a 'widget toolkit for creating graphical user interfaces' can be so humongous.
[toc] | [next] | [standalone]
| From | Eli the Bearded <*@eli.users.panix.com> |
|---|---|
| Date | 2019-04-30 19:06 +0000 |
| Message-ID | <eli$1904301456@qaz.wtf> |
| In reply to | #26895 |
In comp.os.linux.misc, Jean F. Martinelle <JFMart@overthere.com> wrote:
> In my Linux system, I can build the Linux kernel with lots of
> bells and whistles in a matter of minutes. In the same system, building
> Qt5 takes several hours.
>
> Why?
Just some WAG:
a) Naive graphic widgets would compile quickly, but people prefer
smarter ones, so the code gets complicated. Consider the difference
between twm and and pure Xt applications and newer things.
b) The kernel gets more scrutiny over adding superfluous code.
c) The kernel is written in C or assembly which takes less CPU time to
compile than higher level languages like C++.
Elijah
------
hasn't looked at Qt5 source
[toc] | [prev] | [next] | [standalone]
| From | Rich <rich@example.invalid> |
|---|---|
| Date | 2019-05-01 16:36 +0000 |
| Message-ID | <qachth$gkr$1@dont-email.me> |
| In reply to | #26896 |
Eli the Bearded <*@eli.users.panix.com> wrote: > In comp.os.linux.misc, Jean F. Martinelle <JFMart@overthere.com> wrote: >> In my Linux system, I can build the Linux kernel with lots of >> bells and whistles in a matter of minutes. In the same system, >> building Qt5 takes several hours. >> >> Why? > > Just some WAG: > > a) Naive graphic widgets would compile quickly, but people prefer > smarter ones, so the code gets complicated. Consider the > difference between twm and and pure Xt applications and newer > things. > > b) The kernel gets more scrutiny over adding superfluous code. > > c) The kernel is written in C or assembly which takes less CPU time > to compile than higher level languages like C++. qt5 also includes a full web browser (a copy of webkit if memory serves) in addition to all of the UI code, further inflating the compile time.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.misc
csiph-web