summaryrefslogtreecommitdiffstats
path: root/conanfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Conan: Inherit recipe class from QtLeafModule for common functionalityIikka Eklund2021-08-261-98/+22
| | | | | | | | | | | | | | | | | 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. Inheriting class needs to implement 'get_leaf_module_source_folder()'. Pick-to: 6.2 Task-number: QTBUG-94902 Change-Id: I7cec8a66bfaae3a75e93b1f31ee33c9defda4fe3 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add "scm" attribute to conanfile.pyIikka Eklund2021-03-141-0/+1
| | | | | | | | | | | | | We want to match the commit ID along with the RREV (recipe revision). This way we can pin exact Conan packages to known sha1/tag which makes releasing easier. https://docs.conan.io/en/latest/reference/conanfile/attributes.html#revision-mode Pick-to: 6.1 Task-number: QTQAINFRA-4325 Change-Id: I866e9fc20cc82dbf03b818f7f3502e3e0991b440 Reviewed-by: Toni Saario <toni.saario@qt.io>
* Bump versionJani Heikkinen2021-02-181-1/+1
| | | | Change-Id: Ib75fef0b3ce2091e0b223208c17c45931a7a1d52
* Conan: Use the 'shared' option value of the Qt buildIikka Eklund2021-02-111-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Default to the value of the prebuilt Qt build. The 'default' needs to be added as valid option in the list which will be used by default if no value is given by the user or via the conan profile. The user is still able to override this via the profile or from command line if needed: "conan install ... -o shared=False" CMakeCache.txt: - "conan install ..." - BUILD_SHARED_LIBS:BOOL=ON - "conan install ... -o shared=True" - BUILD_SHARED_LIBS:BOOL=ON - "conan install ... -o shared=False" - BUILD_SHARED_LIBS:BOOL=OFF Pick-to: 6.1 Task-number: QTBUG-90901 Change-Id: I59db7a92cfe8f37bdf0f2f4df9408386aacfac82 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* conanfile.py: Use QTDIR instead of QT_PATHIikka Eklund2021-02-111-4/+4
| | | | | | | | | | | | | | There's an established environment variable for this though, QTDIR. This environment variable is also set by Qt Creator by default. So the Conan recipes should accept this environment variable instead. This requires a change in the matching conan profile files where the path to Qt installation is injected to env. Task-number: QTBUG-90583 Pick-to: 6.1 Change-Id: I128cc1390f0a8525ee4490393cb63338bf511c16 Reviewed-by: Simo Fält <simo.falt@qt.io>
* Add conanfile.py to enable Conan buildsTomi Korpipaa2021-01-291-0/+130
Fixes: QTBUG-90432 Change-Id: I7715a66bfaea1a6929e7b4589d5954623829838d Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>