Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
5562f71d
Commit
5562f71d
authored
May 06, 2009
by
Oswald Buddenhagen
Browse files
simplify version check
parent
e3885f28
Changes
1
Hide whitespace changes
Inline
Side-by-side
qtcreator.pro
View file @
5562f71d
#version check qt
TOO_OLD_LIST
=
$$
find
(
QT_VERSION
,
^
4
\
.[
0
-
4
])
count
(
TOO_OLD_LIST
,
1
)
{
message
(
"Cannot build the Qt Creator with a Qt version that old:"
$$
QT_VERSION
)
contains
(
QT_VERSION
,
^
4
\
.[
0
-
4
]
\
..
*
)
{
message
(
"Cannot build Qt Creator with Qt version $$QT_VERSION."
)
error
(
"Use at least Qt 4.5."
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment