Skip to content

Conversation

@jcfr
Copy link
Contributor

@jcfr jcfr commented Oct 26, 2025

This pull request improves the way typesystem settings are loaded by ensuring they can be referenced as Qt resources. It updates the build_all.txt to use Qt resource paths and adds the missing typesystem_uitools.xml entry.

Additionally, the CI workflow is updated to run the generator outside of the source directory, ensuring the changes are effective. The output directory is explicitly specified to be the current directory to avoid issues with default output paths.

This updates `build_all.txt` to reference dependent typesystem files as Qt
resources and adds the missing `typesystem_uitools.xml` entry.

This change removes the need to copy the `typesystem_*.xml` files alongside
the generator executable or start the executable from the generator source
directory.
@jcfr jcfr force-pushed the fix-typesystem-qt-resource-loading branch from 848530f to 21fe823 Compare October 26, 2025 17:01
This allows checking that the fix integrated in the previous commit
effectively works.

Since by default the generator output the generated files in the parent
directory, the output directory is explicitly specified to be the current
directory.
@jcfr jcfr force-pushed the fix-typesystem-qt-resource-loading branch from 21fe823 to 51795d6 Compare October 26, 2025 18:59
@jcfr jcfr changed the title Ensure typesystem settings can be loaded from Qt resources and update CI workflow fix: Ensure typesystem settings can be loaded from Qt resources and update CI workflow Oct 26, 2025
Copy link
Contributor

@mrbean-bremen mrbean-bremen left a comment

Choose a reason for hiding this comment

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

Looks like an oversight in the previous implementation - the resources have already been there...

Ensure that typesystem files are loaded from the Qt resources only
if not found in the specified file path.

Suggested-by: Uwe Siems <[email protected]>
@usiems usiems merged commit f6fa33d into MeVisLab:main Oct 28, 2025
36 of 39 checks passed
@jcfr jcfr deleted the fix-typesystem-qt-resource-loading branch October 28, 2025 13:54
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