# Build and update translation file

**URL:** <https://discourse.slicer.org/t/build-and-update-translation-file/22376>\
**Category:** Development\
**Tags:** build\
**Created:** [March 8, 2022, 3:05pm UTC](https://discourse.slicer.org/t/build-and-update-translation-file/22376 "2022-03-08T15:05:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![syrjay](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/syrjay/32/14577_2.png) [@syrjay](https://discourse.slicer.org/u/syrjay)\
**Post date:** [March 8, 2022, 3:05pm UTC](https://discourse.slicer.org/t/build-and-update-translation-file/22376/1 "2022-03-08T15:05:51Z")

</div>

Hello,  
I have some errors when I try to build slicer, in the step for run the command make -j4, I got this :

 ![Capture d’écran 2022-03-05 à 22.06.50](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/1/d10a4f800ec3d4ffcec4ac6a3aa6f3ce49d592bb.png)  
 ![Capture d’écran 2022-03-05 à 22.07.02](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/8/48599f41d1d8f96de7dbffdc2f9b2aa409a0a904.png)  
So after this, I can’t run slicer with /opt/s/Slicer-build/Slicer, “no such file or directory”.

Also when I try to update translation file, I was working as well with Qt6, but as it is the 5 version of Qt with is recommended, I install it but I got this error :

 ![Capture d’écran 2022-03-05 à 22.05.09](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/d/bdbd06ac3890aeee96b053050fe4c62adba9f85e.png)

developper guide : [macOS — 3D Slicer documentation](https://slicer.readthedocs.io/en/latest/developer_guide/build_instructions/macos.html#prerequisites)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 8, 2022, 3:21pm UTC](https://discourse.slicer.org/t/build-and-update-translation-file/22376/2 "2022-03-08T15:21:39Z")

</div>

> [@syrjay](#):
>
> I have some errors when I try to build slicer, in the step for run the command make -j4, I got this :

It seems that you haven’t installed qtscript Qt component. See in the Slicer build instructions

> make sure to select `qtscript` and `qtwebengine` components

([macOS — 3D Slicer documentation](https://slicer.readthedocs.io/en/latest/developer_guide/build_instructions/macos.html))

> [@syrjay](#):
>
> Also when I try to update translation file, I was working as well with Qt6, but as it is the 5 version of Qt with is recommended, I install it but I got this error :

This problem is fixed in recent Slicer Preview Releases (after 2022-02-23).
