mxcl/homebrew — Issue #10564: QT dependency libjpeg is not installed
Author: elwerene
Created: 2012-02-28 16:41:39+00:00
State: open

Fresh install of QT (4.8.0):

$ brew install qt
...

$ otool -L /usr/local/Cellar/qt/4.8.0/plugins/imageformats/libqjpeg.dylib
/usr/local/Cellar/qt/4.8.0/plugins/imageformats/libqjpeg.dylib:
libqjpeg.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/lib/libjpeg.8.dylib (compatibility version 12.0.0, current version 12.0.0)
/usr/local/Cellar/qt/4.8.0/lib/QtGui.framework/Versions/4/QtGui (compatibility version 4.8.0, current version 4.8.0)
/usr/local/Cellar/qt/4.8.0/lib/QtCore.framework/Versions/4/QtCore (compatibility version 4.8.0, current version 4.8.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1094.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)

$ ls /usr/local/lib/libjpeg.8.dylib
ls: /usr/local/lib/libjpeg.8.dylib: No such file or directory

$ brew install libjpeg
...

$ ls /usr/local/lib/libjpeg.8.dylib
/usr/local/lib/libjpeg.8.dylib