diff options
| author | nibbles 2bits | 2012-06-04 17:50:31 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-06-05 09:56:27 -0700 |
| commit | dde738c77e57b2dfcf75e79679512a6af2ab9d5c (patch) | |
| tree | adaf8a643344a583b5dd102d5f5d94cc21ae7304 | |
| parent | 676ed0f6d6b7e87f44ec9239720dc54148bd203b (diff) | |
| download | homebrew-dde738c77e57b2dfcf75e79679512a6af2ab9d5c.tar.bz2 | |
qt: add --developer-build option
Qt4 has a configure option, `--developer-build` that compiles and
links Qt with Qt developer options. This feature was requested
in an issue. Add that as a user install option. This has no
affect on the bottles, which can remain unchanged. This compiles
without error on Lion using llvm-gcc from XCode-4.3.2.
Closes #12284.
Closes #12595.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
| -rw-r--r-- | Library/Formula/qt.rb | 3 |
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 |
