Skip to content
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

Fix link_qt_object_files not working on Windows #1164

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

jnbooth
Copy link
Contributor

@jnbooth jnbooth commented Jan 21, 2025

The current logic in qt-build-utils determines whether a file is an object file by testing whether it ends with ".o", but object files on Windows end in ".obj", resulting in numerous compiler warnings of "File path {} found in .prl file for {name}, but could not extract library base name to pass to linker command line". This PR fixes the issue.

Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (ab544c7) to head (571fb01).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1164   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           71        71           
  Lines        11967     11967           
=========================================
  Hits         11967     11967           

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

Copy link
Collaborator

@LeonMatthesKDAB LeonMatthesKDAB left a comment

Choose a reason for hiding this comment

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

Thank you @jnbooth for the contribution :)

@LeonMatthesKDAB LeonMatthesKDAB enabled auto-merge (rebase) January 21, 2025 07:58
@LeonMatthesKDAB LeonMatthesKDAB merged commit 6c94838 into KDAB:main Jan 21, 2025
16 checks passed
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