summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-11-29 17:29:47 +0100
committerTobias Hunger <tobias.hunger@qt.io>2019-12-11 10:35:59 +0000
commit0518fd34caded6b5bd51a3647ced9b87e711e203 (patch)
tree51c63111d0afd58a4ceb0efbe67b7652629eeb2b
parent668f1b667a13a2dd06e2cf89072b20c69e83c5c1 (diff)
downloadqt-creator-0518fd34caded6b5bd51a3647ced9b87e711e203.tar.gz
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>
-rw-r--r--conanfile.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/conanfile.txt b/conanfile.txt
new file mode 100644
index 0000000000..19f1a2061a
--- /dev/null
+++ b/conanfile.txt
@@ -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