Skip to content

Conversation

GooRoo
Copy link
Contributor

@GooRoo GooRoo commented Aug 20, 2025

  • Add values (import name, import version) to dependencies.
  • Add corresponding headers to dependencies as we need to re-generate plugin.qmltypes.

Fixes #6734.

- Add values (import name, import version) to dependencies.
- Add corresponding headers to dependencies as we need to re-generate `plugin.qmltypes`.
Comment on lines 129 to 130
batchcmds:add_depvalues({importname, majorversion, minorversion})
batchcmds:add_depfiles(table.join(sourcebatch.sourcefiles, sourcefile))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@waruqi Not sure if you're aware, but GitHub has this quite handy feature called suggestions (there is a button on the toolbar). JFYI.

Suggested change
batchcmds:add_depvalues({importname, majorversion, minorversion})
batchcmds:add_depfiles(table.join(sourcebatch.sourcefiles, sourcefile))
batchcmds:add_depvalues(importname, majorversion, minorversion)
batchcmds:add_depfiles(sourcefile, sourcebatch.sourcefiles)

@GooRoo GooRoo requested a review from waruqi August 21, 2025 09:28
@waruqi waruqi added this to the v3.0.2 milestone Aug 21, 2025
@waruqi waruqi merged commit 5fdeeca into xmake-io:dev Aug 21, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

qt.qmltyperegistrar is not rerun when values or files are changed
2 participants