Skip to content

Commit

Permalink
qt5: fix macdeployqt plugins path.
Browse files Browse the repository at this point in the history
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
chrmoritz authored and MikeMcQuaid committed Jan 17, 2014
1 parent b880c98 commit b553e9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Library/Formula/qt5.rb
Expand Up @@ -45,6 +45,10 @@ class Qt5 < Formula
odie 'qt5: --with-debug-and-release is no longer supported' if build.include? 'with-debug-and-release'

def install
# fixed hardcoded link to plugin dir: https://bugreports.qt-project.org/browse/QTBUG-29188
inreplace "qttools/src/macdeployqt/macdeployqt/main.cpp", "deploymentInfo.pluginPath = \"/Developer/Applications/Qt/plugins\";",
"deploymentInfo.pluginPath = \"#{prefix}/plugins\";"

ENV.universal_binary if build.universal?
args = ["-prefix", prefix,
"-system-zlib",
Expand Down

0 comments on commit b553e9e

Please sign in to comment.