blob: 84120bfd07a9f99a8b557e4aa27d8b8af1d3551c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
CONFIG += tests_need_tools examples_need_tools
# Otherwise we cannot compile src/qmltyperegistrar
requires(qtConfig(commandlineparser))
requires(qtConfig(temporaryfile))
load(qt_parts)
!python_available {
py_out = $$system('python -c "print(1)"')
!equals(py_out, 1): error("Building QtQml requires Python.")
tmp = python_available
CONFIG += $$tmp
cache(CONFIG, add, tmp)
}
|