Skip to content

Instantly share code, notes, and snippets.

@GrooveStomp
Created October 17, 2012 23:31
Show Gist options
  • Select an option

  • Save GrooveStomp/3909005 to your computer and use it in GitHub Desktop.

Select an option

Save GrooveStomp/3909005 to your computer and use it in GitHub Desktop.
QT 4.7 Install
↳ cd `brew --prefix`
[aoman|/usr/local|master|ruby-1.8.7-p357]
↳ git checkout 83f742e15 /usr/local/Library/Formula/qt.rb
[aoman|/usr/local|master|ruby-1.8.7-p357]
↳ brew install libpng
Error: libpng-1.5.13 already installed
[aoman|/usr/local|master|ruby-1.8.7-p357]
↳ brew install --use-llvm --env=std qt
==> Downloading http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz
Already downloaded: /Users/aoman/Library/Caches/Homebrew/qt-4.7.4.tar.gz
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file src/corelib/global/qglobal.cpp
Hunk #1 succeeded at 1173 (offset -1 lines).
Hunk #2 succeeded at 1183 (offset -1 lines).
patching file src/corelib/global/qglobal.h
Hunk #1 succeeded at 316 (offset -6 lines).
Hunk #2 succeeded at 1504 (offset -70 lines).
Hunk #3 succeeded at 1513 (offset -70 lines).
patching file src/3rdparty/webkit/WebCore/platform/network/qt/SocketStreamHandlePrivate.h
patching file src/3rdparty/webkit/WebCore/platform/network/qt/SocketStreamHandleQt.cpp
==> ./configure -prefix /usr/local/Cellar/qt/4.7.4 -system-libpng -system-zlib -L/usr/X11/lib -I/usr/X11/include -confirm-license -opensource -cocoa -fast -plugin-sql-mysql -no
==> make
==> make install
==> Caveats
We agreed to the Qt opensource license for you.
If this is unacceptable you should uninstall.
Warning: Non-executables were installed to "bin".
Installing non-executables to "bin" is bad practice.
The offending files are:
/usr/local/Cellar/qt/4.7.4/bin/Assistant.app
/usr/local/Cellar/qt/4.7.4/bin/Designer.app
/usr/local/Cellar/qt/4.7.4/bin/Linguist.app
/usr/local/Cellar/qt/4.7.4/bin/QMLViewer.app
/usr/local/Cellar/qt/4.7.4/bin/qttracereplay.app
==> Summary
/usr/local/Cellar/qt/4.7.4: 2581 files, 185M, built in 27.1 minutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment