Re: [Qbs] Why was protobuf.outputDir removed

2020-09-15 Thread Oswald Buddenhagen
On Tue, Sep 15, 2020 at 09:00:50AM +0200, Kai Dohmen via Qbs wrote: Furthermore when installing the generated header files I cannot use the Groups property installSourceBase to match the installed directory structure to the proto files ones. that's actually an interesting one. the general idea i

Re: [Qbs] Binary stripping

2020-04-15 Thread Oswald Buddenhagen
On Tue, Apr 14, 2020 at 10:28:17AM +0200, Christian Kandeler wrote: On Thu, 9 Apr 2020 22:49:48 +0300 Alberto Mardegan wrote: Is there a reason why "strip" is not invoked when in release mode? This has come up before, and I vaguely remember there was some counter argument, but I don't kow an

Re: [Qbs] Changing the default value of consoleApplication

2020-04-08 Thread Oswald Buddenhagen
On Tue, Apr 07, 2020 at 10:08:47PM +0300, Alberto Mardegan wrote: I've recently built a Windows application with QBS, and was a bit surprised that it was built as a console application (the terminal opened when running it). Would anyone object if I submit a change to the QtGuiApplication item,

Re: [Qbs] Deployment and dependency bundling

2020-01-01 Thread Oswald Buddenhagen
On Sat, Dec 28, 2019 at 08:45:26PM +0300, Alberto Mardegan wrote: On 27/12/19 21:24, Oswald Buddenhagen wrote: "deployment" (you actually mean dependency embedding) is just a special form of "linking" dependencies. you should be able to make a fully static build or a bundl

Re: [Qbs] Deployment and dependency bundling

2019-12-27 Thread Oswald Buddenhagen
On Fri, Dec 27, 2019 at 06:04:08PM +0300, Alberto Mardegan wrote: I agree that in many cases the Depends item is the one who has the best information on how to handle its deployment. For example, the QtGui module will know which platform plugins need to be deployed, and the QtQml module could kno

Re: [Qbs] Deployment and dependency bundling

2019-12-27 Thread Oswald Buddenhagen
On Mon, Dec 23, 2019 at 06:28:19PM +0300, Alberto Mardegan wrote: Or maybe my approach is totally off, and it would be better to implement dependency deployment as a Product (since, ultimately, one would use it to obtain a MacOS package, an AppImage or a MSI package?)? dependency embedding sho

Re: [Qbs] [baremetal] I looking proffesionals faced with Cypress FX2 && IAR

2019-10-19 Thread Oswald Buddenhagen
On Sat, Oct 19, 2019 at 11:12:21AM +0200, Richard Weickelt wrote: I'd be interested to see a "modern" 8051 chip. depends on your definition of "modern" ... ^^ https://jaycarlson.net/microcontrollers/ has a nice shoot-out. For instance by finishing Qbs' half-way implemented multiplex facilitie

Re: [Qbs] [baremetal] I looking proffesionals faced with Cypress FX2 && IAR

2019-10-19 Thread Oswald Buddenhagen
On Sat, Oct 19, 2019 at 10:13:45AM +0300, Denis Shienkov wrote: something wrong with SUDPTRH && SUDPTRL features. such registers are typically declared using toolchain-specific c extensions. are you sure qbs is picking up the the headers from the IAR toolchain? ___

Re: [Qbs] Ideas inspired by pro2cmake.py

2019-09-20 Thread Oswald Buddenhagen
On Fri, Sep 20, 2019 at 10:14:54PM +0800, Vincent Hui wrote: It seems that it is possible to develop pro2qbs.py, [...] patches for https://bugreports.qt.io/browse/QBS-586 welcome. ;) ___ Qbs mailing list Qbs@qt-project.org https://lists.qt-project.org

Re: [Qbs] How to download and uncompress files with Qbs directly?

2019-08-05 Thread Oswald Buddenhagen
On Mon, Aug 05, 2019 at 08:25:35AM +0200, Richard Weickelt wrote: > > Does Qbs support downloading and uncompressing files directly? > > Not directly, because it is a build automation tool and not a package > manager. > that's not an argument at all. "support" often enough means "call appropriate

Re: [Qbs] Qbs (way) faster than cmake (or benchmark issue)

2019-07-22 Thread Oswald Buddenhagen
On Mon, Jul 22, 2019 at 11:00:07AM +1200, Christian Gagneraud wrote: > At the 20 jobs mark, cmake start to stagnate, whereas qbs still make > use of parallelism, at the 30 jobs mark, cmake completely stopped > reducing overall build time, whereas qbs start to stagnate. At the 40 > jobs mark, both s

Re: [Qbs] Qbs (way) faster than cmake (or benchmark issue)

2019-07-16 Thread Oswald Buddenhagen
On Tue, Jul 16, 2019 at 06:29:35PM +1200, Christian Gagneraud wrote: > $ time qbs -f ../qtcreator.qbs profile:qt-5-12-2 > user96m51.927s > sys 19m52.059s > > $ time ninja > user70m58.028s > sys 23m9.238s > these system time figures appear *wy* too high to me. something funny ap

Re: [Qbs] Donation to QBS developers/maintainers/contributes

2019-05-17 Thread Oswald Buddenhagen
On Wed, May 15, 2019 at 07:50:42PM +0200, André Pönitz wrote: > On Wed, May 15, 2019 at 11:38:25AM +0200, Oswald Buddenhagen wrote: > > [...] > > jake had started that "qt-free qbs" project (he got as far as > > eliminating (most) use of qt containers), but it was

Re: [Qbs] Donation to QBS developers/maintainers/contributes

2019-05-15 Thread Oswald Buddenhagen
On Tue, May 14, 2019 at 04:17:41PM +0200, Иван Комиссаров wrote: > Qbs itself has a huge dependency on a QtCore, but some stuff is > present in standard library and can be easily changed to that (we > still have enourmous amount of places where qlist is used instead of a > qvector/std::vector and u

Re: [Qbs] Creating many products from a list

2018-09-13 Thread Oswald Buddenhagen
On Thu, Sep 13, 2018 at 03:05:35PM +0200, resurrect...@centrum.cz wrote: >I have a related question. Is the generic property multiplexing moving >forward? I remember Jake saying that he would like to have it too but that >there are some concerns about how it would fill in the current st

Re: [Qbs] Creating many products from a list

2018-09-13 Thread Oswald Buddenhagen
On Thu, Sep 13, 2018 at 12:10:20PM +0300, Orgad Shaneh wrote: >I have a bunch of single-file example apps, which I need to build. >I'd like to create a project with many products, provided by a list. > https://bugreports.qt.io/browse/QBS-1119 (in particular my comments, "of course" ;) ). _

Re: [Qbs] Layout of qbs cpp documentation

2017-11-03 Thread Oswald Buddenhagen
On Fri, Nov 03, 2017 at 10:03:35AM +0100, Timur Kristóf wrote: > I've recently visited the docs at http://doc.qt.io/qbs/cpp-module.html > It looks like this: https://imgur.com/a/SwIm6 > > Is this the intended look-and-feel of the docs? > https://bugreports.qt.io/browse/QBS-1195 > Could we change

Re: [Qbs] Qbs Automatic Projects

2017-06-28 Thread Oswald Buddenhagen
On Tue, Jun 27, 2017 at 01:51:15PM +0200, Joerg Bornemann wrote: > On 26/06/2017 10:44, resurrect...@centrum.cz wrote: > > I tried Qbs and immediately recognised it had even bigger > > potential for automating project definitions except... it discourages > > doing that (see for example this > >

Re: [QBS] Making sense of the `installSourceBase' property

2016-03-18 Thread Oswald Buddenhagen
On Fri, Mar 18, 2016 at 02:15:37PM -0300, Georger Araujo wrote: > I want to install local files and I'm having trouble making sense of the > `installSourceBase' property. [...] > to me this sounds like two bug reports to make in jira. please make sure to include self-contained minimal test cases.

Re: [QBS] Linking inter-dependent libraries using gcc

2015-08-10 Thread Oswald Buddenhagen
On Mon, Aug 10, 2015 at 01:10:33PM +0300, Ilya Lyubimov wrote: > 2015-08-10 12:42 GMT+03:00 Oswald Buddenhagen < > oswald.buddenha...@theqtcompany.com>: > > > On Mon, Aug 10, 2015 at 12:16:45PM +0300, Ilya Lyubimov wrote: > > > 2015-08-09 18:53 GMT+03:00 Richard W

Re: [QBS] Linking inter-dependent libraries using gcc

2015-08-10 Thread Oswald Buddenhagen
On Mon, Aug 10, 2015 at 12:16:45PM +0300, Ilya Lyubimov wrote: > 2015-08-09 18:53 GMT+03:00 Richard Weickelt : > > Again, could intermediate products help here? > > > > This case is what I have in my project. I could solve this by writing a > rule for merging two libraries by hand. But I think qbs

Re: [QBS] Building Qt with QBS

2015-04-02 Thread Oswald Buddenhagen
On Thu, Apr 02, 2015 at 12:31:48AM +0300, Andrew Knight wrote: > On 04/01/2015 05:58 PM, Oswald Buddenhagen wrote: > > how much effort do you guys want to spend on improving qbs itself? > > I think we would be interested in helping out, especially if it > improves life for us an

Re: [QBS] Building Qt with QBS

2015-04-01 Thread Oswald Buddenhagen
On Tue, Mar 31, 2015 at 03:17:59AM +0300, Andrew Knight wrote: > For the past few months, I've been tinkering with using QBS to build > the Qt libs we use in our projects. > that was risky ... if i actually had the time to do what i wanted, you'd have duplicated quite some work. anyway, busy me, lu

Re: [QBS] A more general replacement for qbs-setup-xxx utilites

2015-04-01 Thread Oswald Buddenhagen
On Tue, Mar 31, 2015 at 11:39:14AM +0300, Aleksey Sidorov wrote: > Some thoughts about qbs project configure: > > 1. The configure results must be an artefacts that can be track by qbs > i'm not quite sure what you mean by that. configure results are properties which are aggregated in modules. pr

Re: [QBS] A more general replacement for qbs-setup-xxx utilites

2015-03-27 Thread Oswald Buddenhagen
On Wed, Mar 25, 2015 at 02:19:55PM +0300, Aleksey Sidorov wrote: > I think, that had accumulated enough hard coded tools to setup qbs > profile. And I think more complex applications will want more of these > utilities. > > May be need to replace qbs setup tools with qbs script based solution? >

Re: [QBS] QTPLUGIN variable counterpart in qbs

2014-11-20 Thread Oswald Buddenhagen
On Thu, Nov 20, 2014 at 10:53:55AM +0100, Christian Kandeler wrote: > In qbs, plugins are a special kind of module, so you just use a dependency: > Depends { > name: "Qt.qsqlite" > condition: Qt.core.staticBuild > } > (Perhaps a convenience item would be helpful here th

Re: [QBS] A way to reuse Depends item's value by Export item?

2014-09-22 Thread Oswald Buddenhagen
On Mon, Sep 22, 2014 at 09:51:20AM +0200, Christian Kandeler wrote: > On 09/19/2014 09:31 PM, Dmitrii Volosnykh wrote: > > As of now I have to duplicate Depends item inside Product and Export > > items in order to make the original product and any dependent ones > > compile nicely. > > > > Is there

Re: [QBS] Static build with QBS with Ubuntu

2014-07-02 Thread Oswald Buddenhagen
On Wed, Jul 02, 2014 at 01:25:09PM +0200, Christian Kandeler wrote: > On 07/02/2014 12:48 PM, Jicquel Dorian wrote: > > I tried to build my application project with qbs with a statically build > > qt ( 5.3.0 ) and errors occurs while linking job ( undefined reference > > errors ) so i mailed the su

Re: [QBS] Qt4/Phonon not correctly supported by qtprofilesetup

2014-05-08 Thread Oswald Buddenhagen
On Thu, May 08, 2014 at 07:08:39PM +0200, Thomas Epting wrote: > Hi Christian, > > Unfortunately I don't have a working Gerrit account yet and it also turns > out to be very difficult accessing it (or even Git) from within my > company's Intranet. Could you please push the patch on behalf of me? >

Re: [QBS] C++11 support

2013-10-01 Thread Oswald Buddenhagen
On Tue, Oct 01, 2013 at 02:01:35PM +0200, Christian Kandeler wrote: > On 10/01/2013 01:48 PM, Oswald Buddenhagen wrote: > > On Tue, Oct 01, 2013 at 02:57:23PM +0400, Ruslan Nigmatullin wrote: > >> May be it's a good idea to add boolean option "cpp.cxx11Support" t

Re: [QBS] C++11 support

2013-10-01 Thread Oswald Buddenhagen
On Tue, Oct 01, 2013 at 02:57:23PM +0400, Ruslan Nigmatullin wrote: > May be it's a good idea to add boolean option "cpp.cxx11Support" to cpp > module? > that needs to be more generic. look at the standard version flags gcc has - year, but also compatibility level (gnu, ansi, pedantic ansi). and

Re: [QBS] Thoughts about processor architecture

2013-03-21 Thread Oswald Buddenhagen
On Wed, Mar 20, 2013 at 08:44:30PM -0400, Jake Thomas Petroules wrote: > I was having some thoughts about QBS' handling of different processor > architectures. This is mainly related to QBS-13 and QBS-192. > > First off is `qbs.supportedArchitectures`. This variable would hold a list of > all ar