Slint 1.5:拥抱 Android,改进实时预览,以及 Pythonic Slint

  • Release Info: Slint 1.5 is released with Android deployment and an improved Live-Preview, maintaining full backwards compatibility.

    • Build Android Apps with Rust: Can develop Android apps with Slint. For embedded devs, use Android BSP. Enable backend-android-activity-05 feature, switch to lib.rs, and set up Android SDK and NDK. Run cargo apk run --target aarch64-linux-android --lib. Refer to Slint Android Documentation.
    • Drag and Drop on Live-Preview: Enhanced Live-Preview for quicker iteration. Drag and drop new widgets in VS Code extension, other LSP-supported editors, and SlintPad.
    • Beginnings of Python Support: Python is popular. API in alpha stage. Invite to experiment and give feedback. Check README. Funded by NLNet.
    • Bug Fixes and Enhancements: Many new APIs and bug fixes, including customizing rectangle borders, image element support, window control functions, Flickable callback, placing C++ code in namespace, TextInput support, and color channel access. Check ChangeLog.
  • Upgrading to Slint v1.5: Rust devs run cargo update; C++ devs update GIT_TAG in CMakeLists.txt to v1.5.0 or release/1.5; Node.js devs run npm update slint-ui.
  • Conclusion: Thanks to contributors. Android support stabilized, Live-Preview improved, Python APIs started. New to Slint? Check Get Started. Welcome feedback on bug tracker, forum, and chat.
  • Slint Overview: A Rust-based toolkit for reactive UIs across various targets. Supports multiple OSes and compiles to native code. Facilitates designer-developer collaboration and supports different programming languages.
阅读 14
0 条评论