[Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Vincent Hui
Hi, Qt Creator was ported to CMake . It is interesting to compare build times of Qt Creator with CMake and Qbs. Did anyone benchmark qbs against cmake? ___ Qbs mailing list Qbs@qt-project.org https://lists.

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Ola Røer Thorsen
tir. 14. mai 2019 kl. 09:45 skrev Vincent Hui : > Hi, > > Qt Creator was ported to CMake > . It is interesting to > compare build times of Qt Creator with CMake and Qbs. > > Did anyone benchmark qbs against cmake? > > I'd like to know if Qt Creator wi

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Pier Luigi Fiorini
Il giorno mar 14 mag 2019 alle ore 10:04 Ola Røer Thorsen < o...@silentwings.no> ha scritto: > > tir. 14. mai 2019 kl. 09:45 skrev Vincent Hui : > >> Hi, >> >> Qt Creator was ported to CMake >> . It is interesting to >> compare build times of Qt Creat

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Vincent Hui
We can see Qbs development is active. https://github.com/qbs/qbs/commits/master?before=ca4987ae21f3cb30fde699448abc213b37b90214+35 Therefore I don't think it is dead. On Tue, 14 May 2019 at 16:09, Pier Luigi Fiorini < pierluigi.fior...@gmail.com> wrote: > Il giorno mar 14 mag 2019 alle ore 10:04

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Ola Røer Thorsen
tir. 14. mai 2019 kl. 10:12 skrev Vincent Hui : > We can see Qbs development is active. > https://github.com/qbs/qbs/commits/master?before=ca4987ae21f3cb30fde699448abc213b37b90214+35 > Therefore I don't think it is dead. > > Sure I agree, however if the mindset elsewhere is that "Qbs is dead", the

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Tobias Hunger
On Tue, 2019-05-14 at 10:04 +0200, Ola Røer Thorsen wrote: > I'd like to know if Qt Creator will phase out Qbs support completely, > seeing the comments and summary in that commit ("Qbs is dead"). Would be > really bad for at least my team, if they did. That "qbs is dead" was me, so I guess I need

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Christian Gagneraud
On Tue, 14 May 2019 at 20:58, Tobias Hunger wrote: > > On Tue, 2019-05-14 at 10:04 +0200, Ola Røer Thorsen wrote: > > I'd like to know if Qt Creator will phase out Qbs support completely, > > seeing the comments and summary in that commit ("Qbs is dead"). Would be > > really bad for at least my te

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Tobias Hunger
On Tue, 2019-05-14 at 21:06 +1200, Christian Gagneraud wrote: > From the change description: > All plugins have been converted to CMake, with the following exceptions: > - qbsprojectmanager > > Any reason why? There is no find_package script for qbs that we can just use. Don't panic, it will b

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Christian Gagneraud
On Tue, 14 May 2019 at 21:32, Tobias Hunger wrote: > > On Tue, 2019-05-14 at 21:06 +1200, Christian Gagneraud wrote: > > From the change description: > > All plugins have been converted to CMake, with the following exceptions: > > - qbsprojectmanager > > > > Any reason why? > > There is no find_

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Denis Shienkov
14.05.2019 12:32, Tobias Hunger пишет: There is no find_package script for qbs that we can just use. Don't panic, it will be there. In that case, you need to add possibility to build the QBS with CMake... No? :) Or, how are you going to solve this? BR, Denis

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Иван Комиссаров
I don't know how does the cmake scripts work, but it should not require building qbs with cmake However, it might be a good idea to retire qmake for qbs as well to reduce Qt dependencies. But it seems quite a huge job since qbs build is quite complicated and supports lots of configurations. Ива

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Joerg Bornemann
On 5/14/19 10:57 AM, Tobias Hunger wrote: > The challenge will be Qt 6: Creator will use Qt 6 ASAP and since qbs is linked > into Creator, that will also need to be ported to Qt 6 to stay feasible. ...which shouldn't pose a challenge at all given that Qt 6 is to keep source incompatible changes

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Christian Gagneraud
On Tue, 14 May 2019 at 22:02, Joerg Bornemann wrote: > > On 5/14/19 10:57 AM, Tobias Hunger wrote: > > > The challenge will be Qt 6: Creator will use Qt 6 ASAP and since qbs is > > linked > > into Creator, that will also need to be ported to Qt 6 to stay feasible. > > ...which shouldn't pose a ch

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Joerg Bornemann
On 5/14/19 12:04 PM, Christian Gagneraud wrote: > On Tue, 14 May 2019 at 22:02, Joerg Bornemann wrote: >> >> On 5/14/19 10:57 AM, Tobias Hunger wrote: >> >>> The challenge will be Qt 6: Creator will use Qt 6 ASAP and since qbs is >>> linked >>> into Creator, that will also need to be ported to Qt

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Christian Gagneraud
On Tue, 14 May 2019 at 23:10, Joerg Bornemann wrote: > > On 5/14/19 12:04 PM, Christian Gagneraud wrote: > > On Tue, 14 May 2019 at 22:02, Joerg Bornemann wrote: > >> > >> On 5/14/19 10:57 AM, Tobias Hunger wrote: > >> > >>> The challenge will be Qt 6: Creator will use Qt 6 ASAP and since qbs is

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Vincent Hui
Another issue is that Qt Creator will not ship with Qt Script if Qt Script will be dropped in Qt 6. Don't know whether Qt Creator team is willing to ship a forked Qt Script library. Vincent On Tue, 14 May 2019 at 19:51, Christian Gagneraud wrote: > On Tue, 14 May 2019 at 23:10, Joerg Bornemann

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread Richard Weickelt
Tobias, I think it is of utmost importance for the survival of Qbs that it is fully supported by an IDE like QtCreator. > Note that this is about the build system used to *build Qt Creator with*, not > about *build systems supported by Qt Creator*. I would personally like to keep > qbs supported

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-14 Thread André Pönitz
On Tue, May 14, 2019 at 08:42:50PM +0200, Richard Weickelt wrote: > Tobias, > > I think it is of utmost importance for the survival of Qbs that it is > fully supported by an IDE like QtCreator. > > > Note that this is about the build system used to *build Qt Creator > > with*, not about *build sy

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-15 Thread Tobias Hunger
Hi Richard, I can only provide an opinion, it is not my place to make decisions. On Tue, 2019-05-14 at 20:42 +0200, Richard Weickelt wrote: > Tobias, > > I think it is of utmost importance for the survival of Qbs that it is fully > supported by an IDE like QtCreator. I would like to see qbs as

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-15 Thread Epting, Thomas
> I would like to see qbs as a supported build system in Creator for as long > as it does not > cause too much hassle to do so. That is no different to any of the other > plugins Creator > has. Side note: I plan to take care of the qbsprojectmanager plugin (not Qbs itself) in the future. I

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-15 Thread Orgad Shaneh
I compared qbs and cmake/ninja, and got these results (Debug build, no QbsPM and no Clang): Notice that qbs builds unit tests, which cmake doesn't. time qbs -f ../qt-creator/qtcreator.qbs profile:qt-5-11-1 modules.cpp.compilerWrapper:ccache cold ccache: real5m26.149s user125m3.443s sys

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-15 Thread Christian Gagneraud
On Thu, 16 May 2019 at 01:45, Orgad Shaneh wrote: > > I compared qbs and cmake/ninja, and got these results (Debug build, no QbsPM > and no Clang): > > Notice that qbs builds unit tests, which cmake doesn't. > > time qbs -f ../qt-creator/qtcreator.qbs profile:qt-5-11-1 > modules.cpp.compilerWrap

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-15 Thread Christian Gagneraud
On Thu, 16 May 2019 at 02:01, Christian Gagneraud wrote: > > On Thu, 16 May 2019 at 01:45, Orgad Shaneh wrote: > > > > I compared qbs and cmake/ninja, and got these results (Debug build, no > > QbsPM and no Clang): > > > > Notice that qbs builds unit tests, which cmake doesn't. > > > > time qbs

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-15 Thread Christian Kandeler
On Thu, 16 May 2019 02:01:21 +1200 Christian Gagneraud wrote: > As well, please note that the current CMake doesn't build as much > stuff as the qbs one. Not sure the difference is huge, but you need to > compare "equal jobs". For instance, all autotests are missing from the cmake build, so this

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-15 Thread Vincent Hui
How many number of threads were used? Is the number of threads used by Qbs equal to the number of threads used by CMake? On Wed, 15 May 2019 at 22:11, Christian Kandeler wrote: > On Thu, 16 May 2019 02:01:21 +1200 > Christian Gagneraud wrote: > > > As well, please note that the current CMake d

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-15 Thread Orgad Shaneh
du -shc build-qtc-qbs 15G build-qtc-qbs 15G total du -shc build-qtc-cmake 4.0Gbuild-qtc-cmake 4.0Gtotal The number of jobs is default. For qbs it's 40, ninja uses 42. I tried again without autotests, as Christian suggested: time qbs -f ../qt-creator/qtcreator.qbs profile:qt-5-11-

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-15 Thread Иван Комиссаров
Interesting. Any idea why Qbs is so slow with ccache? Иван Комиссаров > 15 мая 2019 г., в 17:29, Orgad Shaneh написал(а): > > du -shc build-qtc-qbs > 15G build-qtc-qbs > 15G total > du -shc build-qtc-cmake > 4.0Gbuild-qtc-cmake > 4.0Gtotal > > The number of jobs is default. For

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-15 Thread Orgad Shaneh
Probably because cmake aggregates files, while qbs builds each one separately. בתאריך יום ד׳, 15 במאי 2019, 19:00, מאת Иван Комиссаров ‏: > Interesting. Any idea why Qbs is so slow with ccache? > > Иван Комиссаров > > 15 мая 2019 г., в 17:29, Orgad Shaneh написал(а): > > du -shc build-qtc-qbs >

Re: [Qbs] Who compared build times of Qt Creator with CMake and qbs?

2019-05-16 Thread Christian Kandeler
On Wed, 15 May 2019 19:16:01 +0300 Orgad Shaneh wrote: > Probably because cmake aggregates files, while qbs builds each one > separately. One could verify: https://doc.qt.io/qbs/qml-qbsmodules-cpp.html#combineCxxSources-prop https://doc.qt.io/qbs/qml-qbsmodules-qt-core.html#combineMocOutput-prop