qt-base: fix-build without opengl (#40421)

This commit is contained in:
Manuela Kuhn 2023-10-11 14:56:59 +02:00 committed by GitHub
parent 26136c337f
commit 1ab8886695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,6 +235,9 @@ def define_feature(key, variant=None):
for k in features:
define("FEATURE_" + k, True)
if "~opengl" in spec:
args.append(self.define("INPUT_opengl", "no"))
# INPUT_* arguments: undefined/no/qt/system
sys_inputs = ["doubleconversion"]
if "+sql" in spec: