Topic locked

Making KDE Qt less

wolfi323
Registered Member
Posts
1119
Karma
11
OS

Re: Making KDE Qt less

Wed May 24, 2017 6:39 pm
Well, this guy is going to rewrite all of KDE's software without using Qt anyway as he wrote here:
viewtopic.php?f=304&t=139125&p=376392#p376392

I'm just not sure how this will help with transmission or the other DE's... ;)

On a more serious note: @wlisik you obviously have no clue what you are talking about.
But a strong hate on Qt apparently.
User avatar ivan
KDE Developer
Posts
907
Karma
14
OS

Re: Making KDE Qt less

Thu May 25, 2017 8:16 am
> webkit is build on top of qt

Qt Webkit is Webkit /port/ to Qt. Webkit itself is not built on top of Qt. You should probably do some research before writing stuf...


Image
wlisik
Registered Member
Posts
22
Karma
0

Re: Making KDE Qt less

Thu May 25, 2017 9:57 am
Qt Webkit is Webkit /port/ to Qt. Webkit itself is not built on top of Qt.

These two sentenes negates each other. If sth is port of sth, its built on top of the other thing. Its obvious.
If Im wrong than why there is 'qt' string in the pkg name than?
User avatar ivan
KDE Developer
Posts
907
Karma
14
OS

Re: Making KDE Qt less

Fri May 26, 2017 5:40 am
As I said, investigate...


Image
wlisik
Registered Member
Posts
22
Karma
0

Re: Making KDE Qt less

Fri May 26, 2017 6:52 am
ivan wrote:As I said, investigate...

I will follow your advice.....
In my /etc/portage/make.conf
Code: Select all
MAKEOPTS="-j17" # n+1

So, during compilation it uses all 16 cores. I do not have more. I should have. I suspect it wouldnt be faster.

Now, simulate compiling of two meta packages (notice p switch = means pretend)
Code: Select all
emerge -pv qt-webkit webkit

It gives:
Code: Select all
Calculating dependencies....Done
(...)
Qt-webkit found at /usr/qt-webkit. Skipping
Webkit will be installed.

Nothing to do. Run emerge -av webkit to install webkit.

Now, lets see compilation times for both:
Code: Select all
genlop -ti qt-webkit webkit

Output:
Code: Select all
Compile time for qt-webkit is 36:12:29
Compile time for webkit is 00:15:20.
louis94
Registered Member
Posts
91
Karma
1
OS

Re: Making KDE Qt less

Fri May 26, 2017 5:15 pm
Hello,

wlisik wrote:In my /etc/portage/make.conf
Code: Select all
MAKEOPTS="-j17" # n+1

So, during compilation it uses all 16 cores. I do not have more. I should have. I suspect it wouldnt be faster.

Performance doesn't scale linearly with the number of threads. You could very well get faster builds using, say, 8 threads.

Other characteristics of the system can come into play. For example, you could go out of RAM and swap to disk. A x10 slowdown isn't excluded. Or if you're building in an almost-full filesystem, and fragmentation slows everything down.

Last time I built Qt, it took less than one our, and that was on a much weaker system. The problem isn't in Qt, but in your (or Gentoo's) setup.

Louis
beojan
Registered Member
Posts
9
Karma
0
OS

Re: Making KDE Qt less

Wed May 31, 2017 10:56 pm
ivan wrote:> webkit is build on top of qt

Qt Webkit is Webkit /port/ to Qt. Webkit itself is not built on top of Qt. You should probably do some research before writing stuf...


Well, WebKit started off as a fork of KHTML which was definitely built on top of Qt, being part of KDE and all. But I'm splitting hairs here, WebKit doesn't need Qt.

 
Topic locked

Bookmarks



Who is online

Registered users: alvinwong, Bing [Bot], Clancularius, destinys, Exabot [Bot], gfielding, Google [Bot], Gummidge, jackdinn, luigitrezzi, Mero Art, rolfreiner, Sogou [Bot], the.holysword, Yahoo [Bot]