Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
ThirdParty-common
Commits
41d1059a
Commit
41d1059a
authored
May 17, 2015
by
Henry
Browse files
ParaViewFunctions: Updated Qt version check
Resolves bug-report
http://www.openfoam.org/mantisbt/view.php?id=1088
parent
b353c99c
Changes
2
Hide whitespace changes
Inline
Side-by-side
etc/tools/ParaView4Functions
View file @
41d1059a
...
...
@@ -325,10 +325,10 @@ addQtSupport()
QtMajor
=
$1
QtMinor
=
$2
if
[
$QtMajor
-lt
4
-o
$QtMinor
-lt
5
]
if
[
[
(
$QtMajor
-lt
4
)
||
(
$QtMajor
-eq
4
&&
$QtMinor
-lt
5
)
]
]
then
echo
"*** Error: Qt version provided < 4.5"
echo
"*** Please use the -qmake option to specify the location of a version of Qt >= 4.
3
"
echo
"*** Please use the -qmake option to specify the location of a version of Qt >= 4.
5
"
echo
"*** e.g."
echo
"*** -qmake /usr/local/qt-4.6.2/bin/qmake"
echo
"*** -qmake
$installBASE
/qt-4.6.2/bin/qmake"
...
...
etc/tools/ParaViewFunctions
View file @
41d1059a
...
...
@@ -325,10 +325,10 @@ addQtSupport()
QtMajor
=
$1
QtMinor
=
$2
if
[
$QtMajor
-lt
4
-o
$QtMinor
-lt
5
]
if
[
[
(
$QtMajor
-lt
4
)
||
(
$QtMajor
-eq
4
&&
$QtMinor
-lt
5
)
]
]
then
echo
"*** Error: Qt version provided < 4.5"
echo
"*** Please use the -qmake option to specify the location of a version of Qt >= 4.
3
"
echo
"*** Please use the -qmake option to specify the location of a version of Qt >= 4.
5
"
echo
"*** e.g."
echo
"*** -qmake /usr/local/qt-4.6.2/bin/qmake"
echo
"*** -qmake
$installBASE
/qt-4.6.2/bin/qmake"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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