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

cxx-qt-build: consider the folders in rust path #856

Merged
merged 15 commits into from
Sep 10, 2024

Conversation

ahayzen-kdab
Copy link
Collaborator

@ahayzen-kdab ahayzen-kdab commented Feb 21, 2024

Related to #855

@ahayzen-kdab ahayzen-kdab force-pushed the 855-use-folders branch 3 times, most recently from 4fe8ce3 to bd6d571 Compare April 18, 2024 15:05
@ahayzen-kdab ahayzen-kdab marked this pull request as ready for review April 18, 2024 15:05
@ahayzen-kdab ahayzen-kdab changed the title WIP: cxx-qt-build: consider the folders in rust path cxx-qt-build: consider the folders in rust path Apr 18, 2024
@ahayzen-kdab ahayzen-kdab marked this pull request as draft April 18, 2024 15:37
@ahayzen-kdab ahayzen-kdab marked this pull request as ready for review September 4, 2024 15:50
Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (455bcf4) to head (7b6cfc7).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #856   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           71        70    -1     
  Lines        12030     11991   -39     
=========================================
- Hits         12030     11991   -39     

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

@ahayzen-kdab ahayzen-kdab force-pushed the 855-use-folders branch 2 times, most recently from 64bc715 to 0e36c7a Compare September 6, 2024 09:29
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.

Awesome that we can finally get this to work!

I'm slightly concerned that the current include path setup may lead to conflicts though, especially when adding multiple qml modules.

crates/cxx-qt-build/Cargo.toml Outdated Show resolved Hide resolved
crates/cxx-qt-build/src/lib.rs Outdated Show resolved Hide resolved
crates/cxx-qt-build/src/lib.rs Outdated Show resolved Hide resolved
crates/cxx-qt-build/src/lib.rs Outdated Show resolved Hide resolved
crates/cxx-qt-build/src/lib.rs Outdated Show resolved Hide resolved
crates/cxx-qt-build/src/lib.rs Outdated Show resolved Hide resolved
@ahayzen-kdab
Copy link
Collaborator Author

Weird it compiles locally for me in both release and debug 😱 and it did work before with CI 🤔

@ahayzen-kdab ahayzen-kdab force-pushed the 855-use-folders branch 2 times, most recently from 02dff8b to d0e2a20 Compare September 9, 2024 10:31
@ahayzen-kdab
Copy link
Collaborator Author

Found it was the cargo build failing, now that is fixed just cargo test now fails :-/

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.

LGTM :)

@ahayzen-kdab ahayzen-kdab merged commit 900d193 into KDAB:main Sep 10, 2024
14 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