Skip to content

qt-build-utils: split platform linker setup into another module #1289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ahayzen-kdab
Copy link
Collaborator

No description provided.


impl QtPlatformLinker {
/// Initialize support for linking executables with Cargo that link to Qt
pub fn init() {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

don't know if we want to refactor this code at all? Or if there is anything else we can setup for any platforms beyond just the linker. Most of the Windows craziness was on the CMake side?

We do have the cc build flags we setup, they are currently done in cxx-qt-build don't know if we have a helper in qt-build-utils or not. As could be like QtPlatform::cc_builder() -> cc::Build with the flags preconfigured

Copy link

codecov bot commented May 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (96d3233) to head (cdfe574).

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

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

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.

1 participant