mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
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
This commit is contained in:
parent
f060cd5428
commit
cb20579dcc
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue