diff options
author | Michael Shepanski <michael@codesynthesis.com> | 2014-10-16 16:11:41 +0200 |
---|---|---|
committer | Michael Shepanski <michael@codesynthesis.com> | 2014-10-16 16:11:41 +0200 |
commit | f7d0e9c620d7c3117074e2618f2bc75699d6f2f0 (patch) | |
tree | b7eb869ad9b20bcf1c0b7dcd43eb74778b952927 /build/import/libqt/configure | |
parent | ee80e0cf858a51b00ef4f54f64b01caff30f80b9 (diff) |
Add support for Qt5 in build system
Diffstat (limited to 'build/import/libqt/configure')
-rwxr-xr-x | build/import/libqt/configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/import/libqt/configure b/build/import/libqt/configure index cd02836..c78af91 100755 --- a/build/import/libqt/configure +++ b/build/import/libqt/configure @@ -48,7 +48,13 @@ else core_cppflags=`pkg-config --cflags QtCore` core_libs=`pkg-config --libs QtCore` + elif pkg-config --exists Qt5Core; then + + core_cppflags=`pkg-config --cflags Qt5Core` + core_libs=`pkg-config --libs Qt5Core` + else + $echo $echo "Unable to discover installed 'Qt libraries' using pkg-config." $echo "Assuming the C++ compiler will find them automatically." |