homebrew: Failed to detect successful installation of [qt5]

asked 2017-06-03 04:47:46 -0600

Medmuf gravatar image

I am trying to install ROS Kinetic on macOS sierra 10.12. I've already installed qt5, but it is still complaining when I run

rosdep install --from-paths src --ignore-src --rosdistro kinetic -y --skip-keys python-qt5-bindings-webkit

Note I try to skip python-qt5-bindings-webkit since it is not specified for a corresponding package on OS X. Could you guys give me hint?

P.s. here is my brew tap:


and brew info qt5:

qt: stable 5.9.0 (bottled), HEAD [keg-only]
Cross-platform application and UI framework
/usr/local/Cellar/qt/5.8.0_2 (8,667 files, 246.2MB)
  Poured from bottle on 2017-05-09 at 10:44:30
/usr/local/Cellar/qt/5.9.0 (9,015 files, 295.6MB)
  Poured from bottle on 2017-06-03 at 17:00:01
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/qt.rb
==> Dependencies
Build: pkg-config ✔
==> Requirements
Build: xcode ✔
Required: macOS >= 10.8 ✔
Optional: mysql ✘, postgresql ✘
==> Options
  Build documentation
  Build examples
  Build with mysql support
  Build with postgresql support
  Build with QtWebkit module
  Install HEAD version
==> Caveats
We agreed to the Qt opensource license for you.
If this is unacceptable you should uninstall.

This formula is keg-only, which means it was not symlinked into /usr/local,
because Qt 5 has CMake issues when linked.

If you need to have this software first in your PATH run:
  echo 'export PATH="/usr/local/opt/qt/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:
    LDFLAGS:  -L/usr/local/opt/qt/lib
    CPPFLAGS: -I/usr/local/opt/qt/include
For pkg-config to find this software you may need to set:
    PKG_CONFIG_PATH: /usr/local/opt/qt/lib/pkgconfig
edit retag flag offensive close merge delete


brew link --force qt5 also doesn't work.

Medmuf gravatar image Medmuf  ( 2017-06-03 08:49:33 -0600 )edit

Hi Medmuf,

I also meet the same problem, have you solved it? If yes, could you please share the method with us?

richielee gravatar image richielee  ( 2017-08-01 00:03:56 -0600 )edit