aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/qt.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index d60df49dd..1251e52e0 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -23,6 +23,7 @@ class Qt < Formula
['--with-demos-examples', "Enable Qt demos and examples."],
['--with-debug-and-release', "Compile Qt in debug and release mode."],
['--universal', "Build both x86_64 and x86 architectures."],
+ ['--developer', 'Compile and link Qt with Qt developer options']
]
end
@@ -74,6 +75,8 @@ class Qt < Formula
args << "-release"
end
+ args << '-developer-build' if ARGV.include? '--developer'
+
# Needed for Qt 4.8.1 due to attempting to link moc with gcc.
ENV['LD'] = ENV.cxx