Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alicevision/meshroom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Lanthony <yann.lanthony@gmail.com>2017-12-21 20:43:08 +0300
committerGitHub <noreply@github.com>2017-12-21 20:43:08 +0300
commitbeba0cc3212ae5cc679d8b49e28e82f43413e60a (patch)
tree02599200be6ebdc8d0eef2e403b2447cadfd202c /INSTALL.md
parent7cdac6b26085f59a7f8657aba837da1464262ef8 (diff)
WIP INSTALL.md with build instructions
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md35
1 files changed, 35 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
new file mode 100644
index 00000000..2ea1c3da
--- /dev/null
+++ b/INSTALL.md
@@ -0,0 +1,35 @@
+# Development
+This guide will help you setup a development environment to launch and contribute to Meshroom.
+
+## Requirements
+### Python 2.7
+### Qt 5.10
+### Pyside2
+#### Build Instructions (based on https://fredrikaverpil.github.io/2016/08/17/compiling-pyside2/)
+
+Since PySide2 is (not yet) available in Qt installer and no prebuilt binaries are available for Qt 5.10,
+you'll need to build it from source. The build procedure is quite similar on all platforms.
+
+Pre-requisites:
+* Python 2.7
+* Qt 5.10 (http://download.qt.io/official_releases/online_installers/)
+* llvm/libclang (http://download.qt.io/development_releases/prebuilt/libclang/)
+* CMake (https://cmake.org/download/)
+
+##### Procedure
+This procedure directly installs PySide as a package of the Python used for calling the setup script.
+Make sure to use virtualenv if you want to keep this in a separate Python environment.
+
+To simplify the build process, you can add 'bin' folders of cmake, llvm and qt in your PATH.
+Alternatively, paths to binaries can be explicitely set when calling the setup.py script (as shown below).
+
+```
+# With {libclang}/bin in PATH
+# /!\ branch 5.10 does not exist yet, but branch 5.9 is compatible with Qt-5.10
+git clone --recursive --branch 5.9 https://codereview.qt-project.org/pyside/pyside-setup
+
+cd pyside-setup
+python setup.py --ignore-git install --cmake=/path/to/cmake --qmake=/path/to/qmake
+```
+
+