use short_path attribute

it avoids global conan configuration in conan.conf
or via environment variables

Pick-to: 6.2
Change-Id: Ia54cbfe95e0864e7107ea3bb53ff9ba4f1df7b60
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
This commit is contained in:
Eric Lemanissier 2021-12-06 12:38:35 +00:00
parent 49a8ab50ba
commit 70e765b1c5

View File

@ -377,6 +377,7 @@ class QtBase(ConanFile):
# use commit ID as the RREV (recipe revision)
revision_mode = "scm"
python_requires = "qt-conan-common/{0}@qt/everywhere".format(_get_qt_minor_version())
short_paths = True
def set_version(self):
# Executed during "conan export" i.e. in source tree