aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shepanski <michael@codesynthesis.com>2014-10-13 14:00:27 +0200
committerMichael Shepanski <michael@codesynthesis.com>2014-10-13 14:00:27 +0200
commitc5a343056110b23cee3f4a1dd109bd0c66f65e14 (patch)
treeb884fea32a5dcec636e203b0f78419b0d6084ca4
parentfaf21b1ae13fde3f1540ccb36777b47e63dbe408 (diff)
Add support for Qt5 in build system
-rwxr-xr-xbuild/import/libqt/configure6
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."