Commit c7997c1d authored by Andras Becsi's avatar Andras Becsi
Browse files

Partially revert "Fix QtCreator loading of qtwebengine.pro"


Changing the python print signature seems to cause
problems on Windows, so revert it.

Change-Id: I715f792b880a2269ec153bbc73b432c6a4e87cc5
Reviewed-by: default avatarMichael Brüning <michael.bruning@theqtcompany.com>
Showing with 4 additions and 4 deletions
......@@ -10,4 +10,4 @@ for f in filter(os.path.isfile, sys.argv[1:]):
if m:
includedMocs.add(m.group(1))
for moc in includedMocs:
print(moc)
print moc
......@@ -23,4 +23,4 @@ for f in filter(os.path.isfile, sys.argv[1:]):
if re.match(".*Q_OBJECT", line):
mocables.add(f)
for mocable in mocables:
print(mocable)
print mocable
......@@ -22,8 +22,8 @@ defineTest(isPlatformSupported) {
}
defineTest(isPythonVersionSupported) {
python_major_version = $$system('python -c "import sys; print(sys.version_info.major)"')
python_minor_version = $$system('python -c "import sys; print(sys.version_info.minor)"')
python_major_version = $$system('python -c "import sys; print sys.version_info.major"')
python_minor_version = $$system('python -c "import sys; print sys.version_info.minor"')
lessThan(python_major_version, 3): greaterThan(python_major_version, 1): greaterThan(python_minor_version, 6): return(true)
skipBuild("Using Python version "$$python_major_version"."$$python_minor_version", but Python version 2 (2.7 or later) is required to build Qt WebEngine.")
return(false)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment