首页›Planet KDE›文章

MVVM in C#: What Changes When You Switch UI Frameworks?

Qt Dev Loop · 2026年11月26日

AI 摘要 AI 生成,可能有误

The article addresses a frequent developer question arising after the release of the Qt Bridge for C#: whether an application's C# MVVM backend will continue to work when switching UI frameworks. The authors confirm that when moving to a Qt Quick / QML UI, the C# MVVM backend works in exactly the same way. They attribute this to two major factors: how the C# bridge brings C# and Qt Quick together, and the intrinsic design principles promoted by MVVM.

"If I change UI frameworks, will the C# MVVM backend of my application still work?" This is the most frequent question that we've received from developers since releasing the Qt Bridge for C#. We wanted to provide some detailed information to back the answer to that question, which is: yes, when moving to a Qt Quick / QML UI, your C# MVVM backend will still work in the exact same way. As we will see in the course of this blog post, this is due to two major factors: a) how C# and Qt Quick are brought together by the C# bridge, and b) the intrinsic design principles promoted by MVVM.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Planet KDE

KDE Plasma 6.8.4, Bugfix Release for December

AI 摘要KDE has released Plasma 6.8.4, a bugfix update to its Plasma 6 desktop environment. Plasma 6.8 originally launched in October 2026 with feature refinements and new modules, and this December release incorporates three weeks of new translations and fixes from KDE contributors. While the bugfixes are typically small, they are considered important improvements to the desktop experience.

Keeping Rainer's Legacy Alive

AI 摘要More than a year after the death of Rainer Grimm, whose blog modernescpp.com was a leading resource for learning modern C++, his family and a group of close friends (Klaus, Mateusz, Jens, and the author) will continue maintaining the blog as a living tribute to him. The author's first contribution is the initial part of a series on using std::variant as sum types to model software states, aimed at improving software safety by eliminating invalid states.

digiKam 9.2.0 is released

AI 摘要After five months of development, the digiKam team has announced the stable release of digiKam 9.2.0, which builds on version 9.1.0 with new features, performance improvements, and many bug fixes. The release focuses on natural language search, a new Immich webservice plugin, database improvements, and usability fixes to enhance stability and workflow efficiency.

A Big Thank You to Our KDE Snap Testers: Core26 Progress and GLib Schema Fixes

Community testing helped uncover a GLib GSettings schema issue in KDE Core26 snaps, leading to a shared fix in the generate-snap-applications tooling.

Introducing kde-workspace-mcp: control your Plasma desktop from any AI assistant

AI 摘要kde-workspace-mcp is an MCP server for KDE Plasma that exposes around thirty desktop controls—virtual desktops, activities, color schemes, clipboard, screen locking, and more—as tools that AI assistants can call via natural language. It works by translating MCP calls into existing D-Bus interfaces, with modifying tools requiring explicit user confirmation through a notification while read-only tools run directly. The server is opt-in, configured through System Settings, works with any MCP client such as KAIChat, and is presented as a first step toward making Plasma controllable by AI without making the desktop AI-dependent.