Re: [Qbs] How to explicitly prohibit the use of qt-framework in project

2020-10-21 Thread Карелин Павел
> You mean in the project files? You can do that only on Product level, not > for the entire project: Yes, it was about the Product, I misspelled. This is what I did, works as I need Product {     ...     Depends { name: "Qt"; submodules: ["core", "network"]; required: false}     moduleProvide

Re: [Qbs] How to explicitly prohibit the use of qt-framework in project

2020-10-20 Thread Richard Weickelt
>> qbs build ... moduleProviders.Qt.qmakeFilePaths:/invalid > Yes, it works. But is it possible to do such a disconnection from the > project itself? You mean in the project files? You can do that only on Product level, not for the entire project: Project { // cannot set global modulePro

Re: [Qbs] How to explicitly prohibit the use of qt-framework in project

2020-10-20 Thread Карелин Павел
ject: [Qbs] How to explicitly prohibit the use of qt-framework in project Hi ! I need to check the build of the project for the case where qt-framework is not installed For this I have created the following construction: Depends { name: "Qt"; submodules: ["core", "ne

Re: [Qbs] How to explicitly prohibit the use of qt-framework in project

2020-10-20 Thread Christian Kandeler
On 10/19/20 8:26 PM, Карелин Павел wrote: Depends { name: "Qt"; submodules: ["core", "network"]; required: false} condition: Qt.core.present Then in QtC I created a profile without qt-framework, and I tried to build the project. ... and the project was built. It turned out that QBS found qt-fr

Re: [Qbs] How to explicitly prohibit the use of qt-framework in project

2020-10-19 Thread Richard Weickelt
ject: [Qbs] How to explicitly prohibit the use of qt-framework in project Hi ! I need to check the build of the project for the case where qt-framework is not installed For this I have created the following construction: Depends { name: "Qt"; submodules: ["core", "ne

[Qbs] How to explicitly prohibit the use of qt-framework in project

2020-10-19 Thread Карелин Павел
Hi ! I need to check the build of the project for the case where qt-framework is not installed For this I have created the following construction: Depends { name: "Qt"; submodules: ["core", "network"]; required: false} condition: Qt.core.present Then in QtC I created a profile without qt-fram