Closed raff closed 10 years ago
The following command doesn't work after "brew install qt5 --HEAD":
> QT5VERSION=`pkg-config --cflags Qt5Core | sed 's/^.*\(5\..\..\).*/\1/g'`
The output of pkg-config --cflags looks like this (no version number)
> echo $QT5VERSION -I/usr/local/Cellar/qt5/HEAD/include/QtCore -I/usr/local/Cellar/qt5/HEAD/include
A better command is this:
> QT5VERSION=`pkg-config --modversion Qt5Core`
The output of pkg-config --modversion looks like:
>pkg-config --modversion Qt5Core 5.2.2
The following command doesn't work after "brew install qt5 --HEAD":
The output of pkg-config --cflags looks like this (no version number)
A better command is this:
The output of pkg-config --modversion looks like: