Skip to content

Conversation

LeonMatthesKDAB
Copy link
Collaborator

  • Remove QRC files from QML modules
  • CXX-Qt-Build: Move QmlModule to builder pattern
  • CXX-Qt-Build: Pass QmlModule into new
  • CXX-Qt-build: Add CxxQtBuilder::qrc_resources

Related to #1125

This is for the most part already covered by the .qrc function in
CxxQtBuilder.
Copy link

codecov bot commented Oct 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (6bc6686) to head (9ffac97).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1342   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           75        75           
  Lines        13051     13051           
=========================================
  Hits         13051     13051           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

As we now only allow a single QML module per builder, we can just pass
it directly into the new function.
This is our version of qt_add_resources and replaces the previous
qrc_files function in QmlModule
This seems to have caused the linker errors we experienced in CI.
Also fix the demo_threading build script, which had this issue.
Copy link
Collaborator

@ahayzen-kdab ahayzen-kdab left a comment

Choose a reason for hiding this comment

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

Looks good, lets keep iterating :-)

@LeonMatthesKDAB LeonMatthesKDAB added this pull request to the merge queue Oct 14, 2025
Merged via the queue into KDAB:main with commit 487f144 Oct 14, 2025
16 checks passed
@LeonMatthesKDAB LeonMatthesKDAB deleted the simplify-qml-modules branch October 14, 2025 14:12
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.

2 participants