Add conanfile.txt

Add a conanfile.txt, so that users can run "conan install ." to
build all the required dependencies.

Afterwards users can run:

  cmake -DCMAKE_TOOLCHAIN_FILE=conan_paths.cmake /path/to/qtc -GNinja

to configure using the conan-provided dependencies.

Change-Id: Id81c703fc48de4d3d66e81ef58acc60dfed48dac
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Tobias Hunger
2019-11-29 17:29:47 +01:00
parent 668f1b667a
commit 0518fd34ca

24
conanfile.txt Normal file
View File

@@ -0,0 +1,24 @@
# This needs a special conan repository to work!
# Please run:
# conan remote add qtcreator https://api.bintray.com/conan/qtcreator/qtcreator
# conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
# to make this repository available!
#
# Then do the following to build Qt Creator:
# 1. Create a build directory and change into it
# 2. Run "conan install /path/to/qtcreator/sources --build missing"
# 3. Run "cmake -DCMAKE_TOOLCHAIN_FILE=conan_paths.cmake /path/to/qtcreator/sources -GNinja"
[requires]
qt/5.13.2@bincrafters/stable
llvm/8.0.0@qtcreator/stable
[generators]
cmake_paths
[options]
qt:qtdeclarative=True
qt:qtscript=True
qt:qtserialport=True
qt:qtsvg=True
qt:qttools=True