summaryrefslogtreecommitdiffstats
path: root/conanfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Conan: Inherit recipe class from QtLeafModule for common functionalityIikka Eklund2021-12-271-41/+10
| | | | | | | | | | | | | | The qt-conan-common package implements a base class for Qt leaf module recipes. The build steps in leaf modules are mostly identical so it makes sense to put those in the base class. Dependencies are read by the base class from the 'dependencies.yaml' which is the same file the CI system uses. Change-Id: Ib5cc5ab4c5b387a5ca1ee2587c9e785c151cde34 Reviewed-by: Toni Saario <toni.saario@qt.io> (cherry picked from commit 0c69831f3544a5737bceb97ac6162eb55443069c) Reviewed-by: Simo Fält <simo.falt@qt.io>
* Conan: Split version string interpolation into separate functionIikka Eklund2021-06-241-1/+5
| | | | | | | | | Make the readibility and syntax highlighting a bit cleaner. Change-Id: I8d35de9c9aac320a6c7216018697c6e84327f7b0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 8d0fa80a36270cbe53ebdb98741124b122681bf3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add conanfile.py to support builds with ConanIikka Eklund2021-06-211-0/+87
The build recipe uses the qtbase's 'bin/qt-configure-module' script directly which is recommended when building other Qt modules ouside the qtbase's -prefix. The recipe uses functionality from qt-conan-common Conan package via 'python_requires'. The recipe sets it's version number based on QT_REPO_MODULE_VERSION and QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT in .cmake.conf file. The dependency to qtbase is declared using semantic versioning so that it will pick the latest available prerelease or final version of the major.minor.patch. Task-number: QTBUG-94382 Change-Id: I454255080e08d334c30cf7080a3acd2ff613dbff Reviewed-by: Toni Saario <toni.saario@qt.io> (cherry picked from commit 6a1632ca6638f94fdf00ecf21f158625db15dd35) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>