[Qbs] How to explicitly prohibit the use of qt-framework in project
Richard Weickelt
richard at weickelt.de
Tue Oct 20 08:04:10 CEST 2020
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: "Карелин Павел" <hkarel at yandex.ru>
To: qbs at 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
More information about the Qbs
mailing list