diff options
author | Iikka Eklund <iikka.eklund@qt.io> | 2021-04-14 10:03:39 +0300 |
---|---|---|
committer | Iikka Eklund <iikka.eklund@qt.io> | 2021-06-21 11:38:36 +0300 |
commit | d6ea619ac87a5ff9ed239b34a4c43a7e6fa141a0 (patch) | |
tree | 0aebd72be613776a249013f9017b6d7c395b2b81 /.cmake.conf | |
parent | 5ca0e87cb08f4d78027ca201a92f8a2376c23a78 (diff) |
Add conanfile.py to support builds with Conan
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'.
This recipe sets it's own Conan options that match with the
module configure options.
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, qtsvg and qtshadertools 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-94384
Pick-to: 6.2
Change-Id: I1f12434521d11f63c31a102bfbfaf923cb262965
Reviewed-by: Toni Saario <toni.saario@qt.io>
Diffstat (limited to '.cmake.conf')
-rw-r--r-- | .cmake.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.cmake.conf b/.cmake.conf index 4e73b3d607..4aa8eb1fde 100644 --- a/.cmake.conf +++ b/.cmake.conf @@ -1 +1,2 @@ set(QT_REPO_MODULE_VERSION "6.2.0") +set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1") |