Skip to content

Latest commit

 

History

History
188 lines (112 loc) · 6.61 KB

CHANGELOG.md

File metadata and controls

188 lines (112 loc) · 6.61 KB

Change Log

Version 0.5.0

Features

  • Add Linux arm64 support and extend the platform-specific package and build integration.

  • Extend metadata-based exports with collection change events, configurable metadata files, checksum validation, and improved type registration and object loading.

  • Add configurable resource packaging, including native-host manifest data and validation for external resource packages.

  • Improve the Visual Studio QML Language Server integration with local build settings, updated QML build metadata, and support for passing the configured Qt QML directory before the first build.

  • Add a tutorial for creating a C# and QML application and improve the profiling tools.

Fixes and compatibility improvements

  • Improve safe-method handling, cached constructors, managed exception handling, and native/managed interop reliability.

  • Improve cross-platform path handling, redirected process output, test isolation, build diagnostics, and incremental native builds.

  • Update CI dependencies to Qt 6.12.0 and the current major installed .NET version.

Version 0.4.0 – Beta

Features

  • Metadata-based type exports. Qt Bridge can now describe exported managed types in a JSON metadata file that is loaded by the native bridge at run time. This is an alternative to the established source-code generation path, which remains the default.

    • Select the export mode globally with the QtExportAs build property, or per assembly/type with Qt.Export / Qt.ExportAs.

    • The metadata schema and exporter currently cover properties, methods, events, indexers, singleton types, models, and collection-as-model types.

    • Metadata exports enable load-time type registration and dynamic-object dispatch. This work is still under active development.

  • Add simplified TreeModel support for implementing tree views from C#, and extend the sample Models and Views application with list, table, and tree examples.

  • Add Windows arm64 support and macOS x64/arm64 package and project-template support. As with Linux, these packages use a compatible external Qt installation selected through QtDir.

  • Improve the build integration:

    • Publish application, QML-resource, and QML build metadata for the Visual Studio QML Language Server integration, including Fast Up-to-Date Check support.

    • Add a packaged pre-built application host, more reliable incremental generation/cleanup, and architecture-aware native builds.

    • Support debug Qt deployment, with a release-runtime fallback when debug Qt binaries are not available.

  • Add Visual Studio project/item template integration and a DocFX documentation site covering project setup, existing projects, QML editing, resources, templates, and platform support.

Fixes and compatibility improvements

  • Improve cross-platform path, resource-alias, QRC, and QML metadata handling, including deterministic handling of duplicate resource identities.

  • Improve native/managed interop reliability for string marshalling, null dynamic-object returns, event notifications, metadata initialization, and safe-method caching.

Bug Fixes

# Summary
QTBRIDGES-330 Fix memory leak of inbound string data buffers

Version 0.3.0 – Beta

Features

Bug Fixes

# Summary
QTBRIDGES-276 C# Bridge has hard dependency on .NET 8

Examples

Version 0.2.0 – Beta / Internal Milestone

Features

  • Extend full QAbstractItemModel API.

    • Inherit from Model to extend QAbstractItemModel in C#.

    • Inherit from TableModel to extend QAbstractTableModel (QATM) in C#.

    • TableModel<T> helper type simplifies implementation of the QATM API.

    • Instances of .NET types that inherit from Model, ListModel, ListModel<T>, TableModel or TableModel<T> can be used as models in QML views.

  • [EXPERIMENTAL] Build C# + QML applications in Linux.

Examples

Version 0.1.0 – Alpha / Public Early Code Access

Features

  • Create C# + QML projects.

  • Generate native proxies/wrappers for .NET types.

  • Instantiate .NET types in QML.

  • .NET object composition with QML nested instances.

  • Invoke .NET methods and properties set/get from QML.

  • Expose observable properties to QML, according to the INotifyPropertyChanged protocol.

  • Handle .NET events in QML.

  • Use the TypeCast singleton to cast to .NET types in QML.

    • Strongly-typed references to .NET objects from QML.
  • Inherit from ListModel to extend QAbstractListModel (QALM) in C#.

    • Instances of .NET types that inherit from ListModel can be used as models in QML views.

    • ListModel<T> helper type simplifies implementation of the QALM API.

  • Use .NET library collections as static models in QML.

  • Use .NET ObservableCollection objects as dynamic models in QML.

  • Create C# + QML projects and QML source files from dotnet templates.

  • Install from NuGet packages.

Examples