Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When configuring for OSX 10.9.x (brew install qt5 --HEAD) QT5VERSION is incorrectly set #33

Closed
raff opened this issue Jan 28, 2014 · 0 comments

Comments

@raff
Copy link

raff commented Jan 28, 2014

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant