1 gn is modified (e.g. create_pri_file), so cannot use system version.
2 At least link it dynamically.
3 --- qtwebengine-everywhere-src-5.15.2/src/buildtools/gn.pro.orig 2020-11-07 02:22:36.000000000 +0100
4 +++ qtwebengine-everywhere-src-5.15.2/src/buildtools/gn.pro 2021-01-01 09:01:29.391918979 +0100
6 gn_bootstrap = $$system_path($$absolute_path(gn/build/gen.py, $$src_3rd_party_dir))
8 gn_gen_args = --no-last-commit-position --out-path $$out_path \
9 + --no-static-libstdc++ \
10 --cc \"$$which($$QMAKE_CC)\" --cxx \"$$which($$QMAKE_CXX)\" \
11 --ld \"$$which($$QMAKE_LINK)\"
12 !isEmpty(QMAKE_AR): gn_gen_args += --ar \"$$which($$first(QMAKE_AR))\"