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

qtypes: add support for Qt alias types that don't match #904

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ahayzen-kdab
Copy link
Collaborator

Closes #882

crates/cxx-qt-lib/src/core/qtypes.rs Outdated Show resolved Hide resolved
crates/cxx-qt-lib/src/core/qtypes.cpp Outdated Show resolved Hide resolved
crates/cxx-qt-lib-headers/include/core/qtypes.h Outdated Show resolved Hide resolved
Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (e6ee353) to head (709d25d).

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

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

@ahayzen-kdab ahayzen-kdab force-pushed the 882-add-qtypes branch 2 times, most recently from debf9b7 to 79cc8fe Compare October 11, 2024 10:49
Comment on lines 14 to 15
#[cxx_name = "qint64"]
type QInt64 = super::QInt64;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In Rust should we be calling these QInt64 and QUInt64 or should we copy Qt and use lowercase qint64 and quint64 ? 🤔

@ahayzen-kdab ahayzen-kdab force-pushed the 882-add-qtypes branch 3 times, most recently from 6a21207 to c67af09 Compare October 11, 2024 14:27
@ahayzen-kdab ahayzen-kdab marked this pull request as ready for review October 11, 2024 14:29
@ahayzen-kdab ahayzen-kdab changed the title WIP: qtypes: add support for Qt alias types that don't match qtypes: add support for Qt alias types that don't match Oct 11, 2024
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.

Add qsizetype to cxx-qt crate
2 participants