summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-23 16:42:01 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-23 16:42:01 +0000
commitcb20579dcc46bee87f4b09286d64a356f031e546 (patch)
tree22292062587951e845b58de644316b047a8b8e5b /rbutil
parentf060cd5428c7a1959bd4bf6c5a22266b836004b1 (diff)
downloadrockbox-cb20579dcc46bee87f4b09286d64a356f031e546.tar.gz
rockbox-cb20579dcc46bee87f4b09286d64a356f031e546.tar.bz2
rockbox-cb20579dcc46bee87f4b09286d64a356f031e546.zip
Escape Backslash and improve version check.
Since Qt 4.7 unescaped backslashes are deprecated so escape it. Change the order of the version check message to make sure it gets displayed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28149 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index 099a8ef7ab..06ce4dc40a 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -32,10 +32,10 @@ RCC_DIR = $$MYBUILDDIR/rcc
# check version of Qt installation
-VER = $$find(QT_VERSION, ^4\.[5-9]+.*)
+VER = $$find(QT_VERSION, ^4\\.[5-9]+.*)
isEmpty(VER) {
+ message("Qt >= 4.5 required!")
!isEmpty(QT_VERSION) error("Qt found:" $$[QT_VERSION])
- error("Qt >= 4.3 required!")
}
message("Qt version used:" $$VER)