Skip to content

Commit

Permalink
Install qt6 with brew instead of conda
Browse files Browse the repository at this point in the history
With conda, during ccmake of geant4, I have to set QT_HOST_PATH and QT_HOST_PATH_CMAKE_DIR. Even with that I still have problem due to a cross-compile of qt6
  • Loading branch information
tbaudier committed Sep 9, 2024
1 parent 2f1eba0 commit 20b44ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ build_wheel_task:
- ls
- cd core
- mkdir opengate_core/plugins
- cp -r $HOME/miniconda3/lib/qt6/plugins/platforms/* opengate_core/plugins/
- cp -r $HOME/miniconda3/lib/qt6/plugins/imageformats opengate_core/plugins/
- ls $HOME/miniconda3/lib/
- cp -r /opt/homebrew/share/qt/plugins/platforms/* opengate_core/plugins/
- cp -r /opt/homebrew/share/qt/plugins/imageformats/* opengate_core/plugins/
- ls /opt/homebrew/lib
- rm -rf dist
- python3 setup.py sdist bdist_wheel
- ls dist
- export DYLD_LIBRARY_PATH=$HOME/software/geant4/bin/BuildProducts/lib:/Users/runner/miniconda3/envs/opengate_core/lib/qt6/plugins/platforms:/opt/X11/lib/:$DYLD_LIBRARY_PATH:/Users/runner/miniconda3/envs/opengate_core/lib
- export DYLD_LIBRARY_PATH=$HOME/software/geant4/bin/BuildProducts/lib:/opt/homebrew/share/qt/plugins/platforms/:/opt/X11/lib/:$DYLD_LIBRARY_PATH:/opt/homebrew/lib
- delocate-listdeps --all dist/*.whl
- delocate-wheel -w fixed_wheels -v dist/*.whl
- rm -rf dist
Expand Down

0 comments on commit 20b44ad

Please sign in to comment.