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
ENH: Bundle Qt language tools #6798
Conversation
@jcfr please check if this is a correct way to bundle these Qt utilities. I did not add a separate launcher, as we will use the executables from Slicer's environment. @pieper it would be great if you could test this on your mac, ideally in the install tree. The best test is to install the latest main version of https://github.com/Slicer/SlicerLanguagePacks and then:
|
Bundle lconvert, lrelease, lupdate tools with the application to allow Slicer modules to update and process translation (.ts) files without requiring Qt installation. Required for Slicer/SlicerLanguagePacks#1 Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
c0554f2
to
b03de71
Compare
Thanks a lot for the comments @jcfr, I've updated the files accordingly. |
I've tested on Windows and it worked well in both the build and install trees. If your linux testing does not bring up any issue then I will merge this before the nightly cutoff time, because the macOS packaging is very slow to do manually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested after:
- building the latest version of SlicerLanguagePacks and running from build tree using
./SlicerWithLanguagePacks
- installing
SlicerLanguagePacks
extension generate locally and installed into an installed Slicer (based of this PR)
I also reviewed the latest 2 commits of SlicerLanguagePacks
, the use of shutil.which should also works nicely on macOS.
Awesome, thanks a lot for testing. We should include this in Slicer-5.2.2 patch, too. |
Once tonight builds complete and we have a chance to test macOS, I will backport this PR. |
Bundle lconvert, lrelease, lupdate tools with the application to allow Slicer modules to update and process translation (.ts) files without requiring Qt installation.
Required for Slicer/SlicerLanguagePacks#1