Conan: Do not write qt.conf to build artifacts

The qt.conf causes issues with CI and building/running tests.

Task-number: QTBUG-93037
Change-Id: I079e71e64985eb69c37adaacb93c45a4a92ef4fa
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit dafed13eb563cb3060787468f1ea0f6ca5f39703)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Iikka Eklund 2021-11-30 11:40:43 +02:00 committed by Qt Cherry-pick Bot
parent e0f8cad075
commit 2c2459cd2c

View File

@ -462,9 +462,6 @@ class QtBase(ConanFile):
cmd = ["cmake", "--install", "."]
self.run(" ".join(cmd))
with open(os.path.join(self.package_folder, "bin", "qt.conf"), "w") as f:
f.write("[Paths]\nPrefix = ..\n")
def package_info(self):
self.python_requires["qt-conan-common"].module.package_info(self)