Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
f2f2f8dc
Commit
f2f2f8dc
authored
10 years ago
by
Hahn, Steven
Browse files
Options
Downloads
Patches
Plain Diff
Refs #10840. fix qt imageformats libraries
parent
a6c85a26
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/MantidPlot/make_package.rb
+10
-0
10 additions, 0 deletions
Code/Mantid/MantidPlot/make_package.rb
with
10 additions
and
0 deletions
Code/Mantid/MantidPlot/make_package.rb
+
10
−
0
View file @
f2f2f8dc
...
...
@@ -98,6 +98,16 @@ end
`install_name_tool -change /usr/local/lib/QtCore.framework/Versions/4/QtCore @loader_path/../Frameworks/QtCore.framework/Versions/4/QtCore Contents/MacOS/libqscintilla2.11.dylib`
#change id of all Qt4 imageformats libraries
qt4_patterns
=
[
"**/imageformats/*.dylib"
]
qt4_patterns
.
each
do
|
pattern
|
Dir
[
pattern
].
each
do
|
library
|
basename
=
File
.
basename
(
library
)
`chmod +w Contents/Frameworks/plugins/imageformats/
#{
basename
}
`
`install_name_tool -id @rpath/
#{
basename
}
Contents/Frameworks/plugins/imageformats/
#{
basename
}
`
end
end
#change id of all PyQt4 libraries
pyqt4_patterns
=
[
"**/PyQt4/*.so"
]
pyqt4_patterns
.
each
do
|
pattern
|
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment