Skip to content

Commit

Permalink
Require 4.6 at least, and escape backslashes
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Feb 19, 2011
1 parent b0b9fe9 commit 4c43525
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fotowall.pro
@@ -1,9 +1,9 @@
# Check Qt >= 4.5
contains(QT_VERSION, ^4\.[0-4]\..*) {
# Check Qt >= 4.6
contains(QT_VERSION, ^4\\.[0-5]\\..*) {
message("Cannot build Fotowall with Qt version $$QT_VERSION .")
error("Use at least Qt 4.5.")
error("Use at least Qt 4.6.")
}
contains(QT_VERSION, ^4\.5\..*): message("Some features are not available with Qt $$QT_VERSION . Use Qt 4.6 or later.")
contains(QT_VERSION, ^4\\.6\\..*): message("Some features are not available with Qt $$QT_VERSION . Use Qt 4.7 or later.")

# Project Options
TEMPLATE = app
Expand All @@ -27,7 +27,7 @@ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, o

# enable features for mobile user interfaces
symbian|simulator: {
contains(QT_VERSION, ^4\.5\..*): error("Use at least Qt 4.6 for symbian builds.")
contains(QT_VERSION, ^4\\.6\\..*): error("Use at least Qt 4.7 for symbian builds.")
CONFIG += mobile-ui
CONFIG += no-wordcloud-appliance
CONFIG += no-export
Expand Down

0 comments on commit 4c43525

Please sign in to comment.