@@ -7,7 +7,8 @@ $(package)_sha256_hash=9b9dec1f67df1f94bce2955c5604de992d529dde72050239154c56352
77$(package)_dependencies =zlib
88$(package)_linux_dependencies =freetype fontconfig libxcb
99$(package)_build_subdir =qtbase
10- $(package)_qt_libs =corelib network widgets gui plugins testlib
10+ $(package)_qt_libs_install =corelib network gui widgets plugins testlib
11+ $(package)_qt_libs_build =$($(package ) _qt_libs_install) xml
1112$(package)_patches =fix_qt_pkgconfig.patch mac-qmake.conf fix_configure_mac.patch fix_no_printer.patch
1213$(package)_patches+ = fix_rcc_determinism.patch fix_riscv64_arch.patch xkb-default.patch no-xlib.patch
1314$(package)_patches+ = fix_android_qmake_conf.patch fix_android_jni_static.patch dont_hardcode_pwd.patch
@@ -112,7 +113,10 @@ $(package)_config_opts += -no-feature-undostack
112113$(package ) _config_opts += -no-feature-undoview
113114$(package ) _config_opts += -no-feature-vnc
114115$(package ) _config_opts += -no-feature-wizard
115- $(package ) _config_opts += -no-feature-xml
116+
117+ $(package ) _config_opts += -feature-xmlstream
118+ $(package ) _config_opts += -feature-xmlstreamreader # Required for lrelease tool.
119+ $(package ) _config_opts += -no-feature-xmlstreamwriter
116120
117121$(package ) _config_opts_darwin = -no-dbus
118122$(package ) _config_opts_darwin += -no-opengl
@@ -241,14 +245,14 @@ define $(package)_config_cmds
241245endef
242246
243247define $(package)_build_cmds
244- $(MAKE ) -C src $(addprefix sub-,$($(package ) _qt_libs ) ) && \
248+ $(MAKE ) -C src $(addprefix sub-,$($(package ) _qt_libs_build ) ) && \
245249 $(MAKE ) -C ../qttools/src/linguist/lrelease && \
246250 $(MAKE ) -C ../qttools/src/linguist/lupdate && \
247251 $(MAKE ) -C ../qttranslations
248252endef
249253
250254define $(package)_stage_cmds
251- $(MAKE ) -C src INSTALL_ROOT=$($(package ) _staging_dir) $(addsuffix -install_subtargets,$(addprefix sub-,$($(package ) _qt_libs ) ) ) && cd .. && \
255+ $(MAKE ) -C src INSTALL_ROOT=$($(package ) _staging_dir) $(addsuffix -install_subtargets,$(addprefix sub-,$($(package ) _qt_libs_install ) ) ) && cd .. && \
252256 $(MAKE ) -C qttools/src/linguist/lrelease INSTALL_ROOT=$($(package ) _staging_dir) install_target && \
253257 $(MAKE ) -C qttools/src/linguist/lupdate INSTALL_ROOT=$($(package ) _staging_dir) install_target && \
254258 $(MAKE ) -C qttranslations INSTALL_ROOT=$($(package ) _staging_dir) install_subtargets && \
0 commit comments