Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.1
-
None
-
OS X 10.8.2.
-
132ba92ec2d672c44c3fc26b43b0293045d36586,7984e8fb42ab6c74077034fa29f80876f39278ee
Description
In the Qt 5.0.1 directory ~/Qt5.0.1/5.0.1/clang_64/lib/pkgconfig, as set up by the 5.0.1 installer for OS X, most files have Qt5Core but not QtCore in the Requires: line, but 4 files - QtWebKit.pc, QtWebKitWidgets.pc, QtWebKitWidgets_debug.pc, and QtWebKit_debug.pc - have both QtCore and Qt5Core in the Requires: line.
There is no Qt5Core.pc file; there is a QtCore.pc file that has "Name: Qt5Core" in it.
The command
pkg-config --cflags "QtGui"
fails with
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
Package 'Qt5Core', required by 'Qt5Gui', not found
If I fix that by symlinking Qt5Core.pc to QtCore.pc,
pkg-config --cflags "QtWidgets"
fails with
Package Qt5Gui was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Gui.pc'
to the PKG_CONFIG_PATH environment variable
Package 'Qt5Gui', required by 'Qt5Widgets', not found
and if I fix that by symlinking Qt5Gui.pc to QtGuipc,
pkg-config --cflags "QtPrintSupport"
fails with
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
Package 'Qt5Widgets', required by 'Qt5PrintSupport', not found
which is fixed by symlinking Qt5Widgets.pc to QtWidgets.pc.
I'm not sure what the right fix is - rename all the QtWhatever.pc to Qt5Whatever.pc? Use QtWhatever rather than Qt5Whatever in the Requires: and Name: lines?