Skip to content

fix(qt.qmltyperegistrar): Collect metatypes info#6648

Merged
waruqi merged 2 commits intoxmake-io:devfrom
GooRoo:qmltyperegistrar-fix
Jul 24, 2025
Merged

fix(qt.qmltyperegistrar): Collect metatypes info#6648
waruqi merged 2 commits intoxmake-io:devfrom
GooRoo:qmltyperegistrar-fix

Conversation

@GooRoo
Copy link
Contributor

@GooRoo GooRoo commented Jul 22, 2025

Instead of passing all JSON-files generated by MOC directly into qmltyperegistrar, combine them into a single JSON-file first using MOC.

Resolves #6647.

Instead of passing all JSON-files generated by MOC directly into `qmltyperegistrar`, combine them into a single JSON-file first using MOC.

Resolves xmake-io#6647.
"--major-version=" .. majorversion,
"--minor-version=" .. minorversion,
"-o", sourcefile
"-o", sourcefile,
Copy link
Member

Choose a reason for hiding this comment

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

please use path(sourcefile) to wrap all file path, project generator will handle path better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wrapped in path() at the initialization.

@GooRoo GooRoo requested a review from waruqi July 23, 2025 15:56
@waruqi waruqi merged commit 990cde6 into xmake-io:dev Jul 24, 2025
22 checks passed
@waruqi waruqi added this to the v3.0.2 milestone Jul 24, 2025
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.

Build error if qmltyperegistrar input json-file is empty

2 participants