summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro8
1 files changed, 8 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index f0c95ac5a0..6317da0dff 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -12,6 +12,14 @@ UI_DIR = build/ui
MOC_DIR = build/moc
RCC_DIR = build/rcc
+# check version of Qt installation
+VER = $$find(QT_VERSION, ^4\.[3-9]+.*)
+isEmpty(VER) {
+ !isEmpty(QT_VERSION) error("Qt found:" $$[QT_VERSION])
+ error("Qt >= 4.3 required!")
+}
+message("Qt version used:" $$VER)
+
# add a custom rule for pre-building librbspeex
!mac {
rbspeex.commands = @$(MAKE) -C ../../tools/rbspeex librbspeex.a