Re: [Qbs] A simple project that copy an executable does not work

2019-07-07 Thread Christian Gagneraud
On Mon, 8 Jul 2019 at 18:15, Vincent Hui wrote: > > Hi Richard and Ivan, > > I tried a project called qbs-autoproject that can generate qbs files > automatically. I modified the example to try whether multiple executables can > be generated without adding CppApplication by myself, the result was

Re: [Qbs] A simple project that copy an executable does not work

2019-07-07 Thread Vincent Hui
Hi Richard and Ivan, I tried a project called qbs-autoproject that can generate qbs files automatically. I modified the example to try whether multiple executables can be generated without adding CppApplication by myself, the result was that mul

[Qbs] How to reload a parent project after inserting a sub-project

2019-07-07 Thread Christian Gagneraud
Hi there, I'm back on https://codereview.qt-project.org/c/qbs/qbs/+/260217, i decided that I should get that done and tested before I move on QtCreator integration. Conceptually, it works, i added a test that check that a sub-project is correctly inserted, but for now, i need to re-setup the top p

Re: [Qbs] A simple project that copy an executable does not work

2019-07-07 Thread Richard Weickelt
> No, this is not possible. The reason is that in common case those products > (applications, libraries) will diverge in some way. For example, you might > want to use different resources - icons (you probably do not want to name > them icon1.png and icon2.png, right?), .desktop entires on Linux, p

Re: [Qbs] A simple project that copy an executable does not work

2019-07-07 Thread Иван Комиссаров
No, this is not possible. The reason is that in common case those products (applications, libraries) will diverge in some way. For example, you might want to use different resources - icons (you probably do not want to name them icon1.png and icon2.png, right?), .desktop entires on Linux, plist

Re: [Qbs] A simple project that copy an executable does not work

2019-07-07 Thread Vincent Hui
Hi Ivan, Thank you very much for creating a complete example in Rule document. That definitely helps new qbs users. I have another question that I didn't find answers after reading qbs doc. Is it possible to create CppApplication dynamically to generate multiple executables? For example, I have