summaryrefslogtreecommitdiffstats
path: root/qtdeclarative.pro
blob: 5b94da9b694be2855f194de3674d3f4d5cb70e95 (plain)
1
2
3
4
5
6
7
8
9
10
CONFIG += tests_need_tools examples_need_tools
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)
}