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?
CC @jakepetroules
Most helpful comment
Closed via https://github.com/Homebrew/homebrew-core/pull/5951.