Hi, you may try
qbs build ... moduleProviders.Qt.qmakeFilePaths:/invalid to configure a non-existing location. You can also set this property in your profile if you like. -----Original Message----- From: "Карелин Павел" <hka...@yandex.ru> To: qbs@qt-project.org Sent: Mon, 19 Oct 2020 20:26 Subject: [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", "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-framework on my system (Linux Kubuntu). Question: to make the QBS strictly follow the the build profile, and does not look for qt-framework where they are not asked for it? I use QBS 1.16 -- BR, Pavel Karelin _______________________________________________ Qbs mailing list Qbs@qt-project.org https://lists.qt-project.org/listinfo/qbs