Skip to content

Conversation

@jcfr
Copy link
Contributor

@jcfr jcfr commented Oct 26, 2025

  • drop the legacy QtXml reader/handler stack in favor of QXmlStreamReader
  • rewrite the typesystem Handler to drive the stream reader directly and wrap QXmlStreamAttributes
  • update attribute helpers and error reporting to match the new streaming API
  • open typesystem files with QText mode and surface parse failures via ReportHandler

@jcfr jcfr force-pushed the migrate-generator-to-qxmlstreamreader branch from 25fdb58 to 3175b47 Compare October 27, 2025 15:52
Copy link
Contributor

@usiems usiems left a comment

Choose a reason for hiding this comment

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

What about the dependency on QtCore5Compat in generator/generator.pri? Can this dependency finally be removed with this change?

@usiems
Copy link
Contributor

usiems commented Oct 28, 2025

I meant it would be nice if you removed the dependency on QtCore5Compat in this merge request if this was the last code that needed it.

jcfr added 2 commits October 28, 2025 09:31
- drop the legacy QtXml reader/handler stack in favor of `QXmlStreamReader`
- rewrite the typesystem Handler to drive the stream reader directly and wrap `QXmlStreamAttributes`
- update attribute helpers and error reporting to match the new streaming API
- open typesystem files with QText mode and surface parse failures via `ReportHandler`
…r.pri

Suggested-by: Uwe Siems <uwe.siems@mevis.de>
@jcfr jcfr force-pushed the migrate-generator-to-qxmlstreamreader branch from 3175b47 to 9b39d41 Compare October 28, 2025 13:31
@usiems usiems merged commit 285c984 into MeVisLab:main Oct 28, 2025
17 checks passed
@jcfr jcfr deleted the migrate-generator-to-qxmlstreamreader branch October 28, 2025 13:53
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.

3 participants