homebrew: Failed to detect successful installation of [qt5]

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

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:

cartr/qt4
caskroom/cask
dartsim/dart
homebrew/core
homebrew/science
homebrew/versions
osrf/simulation
ros/deps

and brew info qt5:

qt: stable 5.9.0 (bottled), HEAD [keg-only]
Cross-platform application and UI framework
https://www.qt.io/
/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
--with-docs
  Build documentation
--with-examples
  Build examples
--with-mysql
  Build with mysql support
--with-postgresql
  Build with postgresql support
--with-qtwebkit
  Build with QtWebkit module
--HEAD
  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

Comments

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

Medmuf gravatar image Medmuf  ( 2017-06-03 08:49:33 -0500 )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 -0500 )edit