summaryrefslogtreecommitdiff
path: root/.cmake.conf
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@qt.io>2021-04-14 12:40:15 +0300
committerIikka Eklund <iikka.eklund@qt.io>2021-06-21 11:04:53 +0300
commit6a1632ca6638f94fdf00ecf21f158625db15dd35 (patch)
treeccc17fe27e97d861b98de50c324474f85e05ac0e /.cmake.conf
parent8758e3c6717d91ddaafbc791ff7c8f63d5ac3b71 (diff)
downloadqtsvg-6a1632ca6638f94fdf00ecf21f158625db15dd35.tar.gz
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'. 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>
Diffstat (limited to '.cmake.conf')
-rw-r--r--.cmake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/.cmake.conf b/.cmake.conf
index 4e73b3d..4aa8eb1 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")