Homebrew-core: qt5 missing Qt5Core.pc amongst others

Created on 16 Oct 2016  路  2Comments  路  Source: Homebrew/homebrew-core

After installing qt5 formula and trying to build other software (go get -v -u github.com/limetext/qml-go) which depends on Qt5, I get a package config error:

# pkg-config --cflags Qt5Core Qt5Widgets Qt5Quick
Package Qt5Core was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Core.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Core' found
Package Qt5Widgets was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Widgets.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Widgets' found
Package Qt5Quick was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Quick.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Quick' found
pkg-config: exit status 1

Inspecting the qt5 pkgconfig directory indeed misses the above mentioned files:

# ls /usr/local/opt/qt5/lib/pkgconfig/
Qt5OpenGLExtensions.pc Qt5UiTools.pc

Shouldn't the Qt5Core.pc, Qt5Widgets.pc and Qt5Quick.pc not be there as well?

upstream issue

Most helpful comment

All 2 comments

CC @jakepetroules

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kiendang picture kiendang  路  3Comments

yuna9 picture yuna9  路  4Comments

Steffen911 picture Steffen911  路  3Comments

tejasmanohar picture tejasmanohar  路  3Comments

jyutzler picture jyutzler  路  4Comments