Skip to content

qt_minimal: add example and CI#1425

Draft
ahayzen-kdab wants to merge 3 commits intoKDAB:mainfrom
ahayzen-kdab:examples-add-qt-minimal-ci
Draft

qt_minimal: add example and CI#1425
ahayzen-kdab wants to merge 3 commits intoKDAB:mainfrom
ahayzen-kdab:examples-add-qt-minimal-ci

Conversation

@ahayzen-kdab
Copy link
Collaborator

Requires #1424

not(cxxqt_qt_version_at_least_6_10),
not(cxxqt_qt_version_at_least_7)
))]
fn mirror(self: &mut QImage, horizontal: bool, vertical: bool);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

either need to remove mirror now or fix qt_minimal so it exists until Qt 6.13

Copy link
Collaborator

Choose a reason for hiding this comment

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

What currently needs this, would it be safe to put it behind a feature to use it, so that people can still access it, but we can eventually deprecate the feature?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

So the current test builds of Qt minimal for some reason do not evaluate the C++ macros around deprecated since correctly. So when you try to build with Qt minimal 6.10.0 the method doesn't exist, this is a temporary hack to make it work however a proper solution is either

  • Fix Qt minimal to correctly expand it's macros
  • Totally remove this method from cxx-qt-lib
  • Have some temporary? magical feature to disable/enable it 🤷

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (af0cede) to head (a57e49e).

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

☔ 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.

@ahayzen-kdab ahayzen-kdab force-pushed the examples-add-qt-minimal-ci branch 8 times, most recently from 0b4d30c to b0486fa Compare March 3, 2026 11:33
@ahayzen-kdab ahayzen-kdab force-pushed the examples-add-qt-minimal-ci branch from b0486fa to a57e49e Compare March 3, 2026 12:55
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