Improvements for section Building Conan Dependencies.

Roman Telezhynskyi 2024-03-30 14:46:34 +02:00
parent ee8164b10e
commit 469fbb5a18
3 changed files with 11 additions and 6 deletions

@ -392,10 +392,12 @@ Next, navigate to the root directory of your Valentina project and install the p
```bash
cd /path/to/valentina
conan install . --build=missing -pr valentina
conan install . --build=missing -o with_xerces=True -pr valentina
```
By default, the use of Conan is disabled. To enable it, pass `project.enableConan:true` to the Qbs configuration.
This command installs the necessary dependencies for Valentina. The `-o with_xerces=True` option ensures that xerces-c is included in the dependencies and built if it's missing. The `-pr valentina` option specifies the Conan profile named "valentina" to use for the installation.
By default, Conan integration is disabled in the Qbs configuration. To enable it, you'll need to pass `project.enableConan:true` to the Qbs configuration. To activate the correct Conan settings, you need to pass them to Qbs. To specify that xerces-c library should be built with Conan, you can set `project.conanWithXerces:true` in the Qbs configuration. Additionally, if you want to specify a specific Conan profile to use, you can pass `project.conanProfiles:valentina` to the Qbs configuration.
## Build with Qt Creator

@ -363,10 +363,12 @@ Next, navigate to the root directory of your Valentina project and install the p
```bash
cd /path/to/valentina
conan install . --build=missing -pr valentina
conan install . --build=missing -o with_xerces=True -pr valentina
```
By default, the use of Conan is disabled. To enable it, pass `project.enableConan:true` to the Qbs configuration.
This command installs the necessary dependencies for Valentina. The -o with_xerces=True option ensures that xerces-c is included in the dependencies and built if it's missing. The -pr valentina option specifies the Conan profile named "valentina" to use for the installation.
By default, the use of Conan is disabled. To enable it, pass `project.enableConan:true` to the Qbs configuration. To enable it, you'll need to pass project.enableConan:true to the Qbs configuration. To activate the correct Conan settings, you need to pass them to Qbs. To specify that xerces-c library should be built with Conan, you can set project.conanWithXerces:true in the Qbs configuration. Additionally, if you want to specify a specific Conan profile to use, you can pass project.conanProfiles:valentina to the Qbs configuration.
### Making DMG

@ -173,10 +173,11 @@ Next, navigate to the root directory of your Valentina project and install the p
```bash
cd /path/to/valentina
conan install . -s os=Windows --build=missing -pr valentina
conan install . -s os=Windows --build=missing -o with_xerces=True -pr valentina
```
This command installs the necessary dependencies for Valentina. The `-o with_xerces=True` option ensures that xerces-c is included in the dependencies and built if it's missing. The `-pr valentina` option specifies the Conan profile named "valentina" to use for the installation.
By default, the use of Conan is disabled. To enable it, pass `project.enableConan:true` to the Qbs configuration.
By default, the use of Conan is disabled. To enable it, pass `project.enableConan:true` to the Qbs configuration. To enable it, you'll need to pass `project.enableConan:true` to the Qbs configuration. To activate the correct Conan settings, you need to pass them to Qbs. To specify that xerces-c library should be built with Conan, you can set `project.conanWithXerces:true` in the Qbs configuration. Additionally, if you want to specify a specific Conan profile to use, you can pass `project.conanProfiles:valentina` to the Qbs configuration.
### Configuring Qbs for Valentina