Bug 419854

Summary: Using dates/times for properties and function arguments
Product: [Unmaintained] rust-qt-binding-generator Reporter: Jon Pacheco <jon.pacheco2>
Component: generalAssignee: Jos van den Oever <jos>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jon Pacheco 2020-04-08 17:43:00 UTC
Hi, I was looking into using this project for a side-project of mine, and was wondering how to use dates/times for properties and function arguments.

For the Rust side of the interface code, could the DateTime structs from the `chrono` crate be used? i.e. the Qt type -> `chrono` type mappings would be:

- QDate -> NaiveDate
- QTime -> NaiveTime
- QDateTime -> DateTime (since QDateTime is timezone aware)
Comment 1 Christoph Cullmann 2024-09-22 20:08:43 UTC
rust-qt-binding-generator is no longer maintained, please try more recent alternatives like

https://github.com/KDAB/cxx-qt/