Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation for building / using the qt5 image locally #5

Open
thewtex opened this issue Jun 15, 2018 · 0 comments
Open

documentation for building / using the qt5 image locally #5

thewtex opened this issue Jun 15, 2018 · 0 comments

Comments

@thewtex
Copy link
Member

thewtex commented Jun 15, 2018

Here are notes from commands that we used (needs testing):

sudo mkdir /work
sudo chown -R $USER.$USER /work
cd /work
git clone https://github.com/Slicer/Slicer.git
docker run --rm slicer/buildenv-qt5-centos7 > slicer-buildenv-qt5-centos7
chmod +x ./slicer-buildenv-qt5-centos7
./slicer-buildenv-qt5-centos7 cmake -BSlicer-build -HSlicer -GNinja -DCMAKE_BUILD_TYPE=Release -DSlicer_USE_PYTHONQT_WITH_TCL:BOOL=OFF -DSlicer_BUILD_CLI:BOOL=OFF -DSlicer_USE_SimpleITK:BOOL=OFF -DBUILD_TESTING:BOOL=OFF -DQt5_DIR:PATH=\${Qt5_DIR}
./slicer-buildenv-qt5-centos7 cmake --build Slicer-build
# mv /opt/qt from the image onto the host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant