diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-09-30 10:52:05 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-10-06 06:26:12 +0000 |
commit | a907edc50641ddc634934747ad3c158d05dc7361 (patch) | |
tree | 9b6f01b43d2cd06af2021b0b0a4e3b0d6b6fda10 /src | |
parent | 6f92911e10fe4417c83af4ee356fd89549db29c6 (diff) |
fix python version check
The python code that is used to determine the version number
did not work with python3.
In python3 print is a real function and must be called as such.
Use positional accessors to be compatible with python < 2.6.
Also extend the error message for users that attempt the build
with python3.
Task-number: QTBUG-48507
Change-Id: I49e1fb77c2cc421ac1faed8d8143bf605fbde700
Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org>
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions