Writing a blatant Telegram clone using Qt, QML and Rust. And C++
3 days ago
- #Qt
- #Rust
- #UI Development
- The author embarked on a project to create a Telegram clone using Qt, QML, Rust, and C++.
- Initial attempts with cxx-qt were abandoned due to slow build times and complexity, switching to qmetaobject-rs for faster development.
- Implemented a custom hot reloading system for QML files to speed up the development process.
- Recreated Telegram's UI features, including a custom splitter, sidebar collapsing, and emoji reaction popups.
- Developed a system tray icon with dynamic message count display using Qt's experimental QML features.
- Integrated C++ for accessing Qt functionalities not exposed to Rust or QML, using a minimal CMake setup.
- The project showcases the author's fondness for QML's design flexibility and Rust's safety features.
- Despite progress, the project is shelved for now, with the author considering future work on it or other projects.