summaryrefslogtreecommitdiff
path: root/conanfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersLucie Gérard2022-06-131-27/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: Ie5a75414af5fda27f5b5f527f3543b088b674677 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Conan: Inherit recipe class from QtLeafModule for common functionalityIikka Eklund2021-08-261-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>
* Conan: Split version string interpolation into separate functionIikka Eklund2021-06-241-1/+5
| | | | | | | | Make the readibility and syntax highlighting a bit cleaner. Pick-to: 6.2 Change-Id: I8d35de9c9aac320a6c7216018697c6e84327f7b0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* 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 Pick-to: 6.2 Change-Id: I454255080e08d334c30cf7080a3acd2ff613dbff Reviewed-by: Toni Saario <toni.saario@qt.io>