Qml.Net - Qt/QML integration/support for .NET
A Qt/Qml integration with .NET
Supported platforms/runtimes:
WIP: https://qmlnet.github.io/
dotnet add package Qml.Net
dotnet add package Qml.Net.WindowsBinaries
dotnet add package Qml.Net.OSXBinaries
dotnet add package Qml.Net.LinuxBinariesNote for Linux users: Package libc6-dev is required to be installed because it contains libdl.so that is needed.
Checkout the examples on how to do many things with Qml.Net.
Define a .NET type (POCO)
…Register your new type with Qml.
…Use the .NET type in Qml
…DateTime, string, etc).async and await with support for awaiting and getting the result from Qml.dynamic.IList<T> instance, for modification of list in Qml, and performance.QObject types to .NET with support for interacting with signals/slots/properties on them.There aren't really any important features missing that are needed for prime-time. This product is currently used on embedded devices in the medical industry.
The unit tests can be found in src/native/Qml.Net.Tests.
They can be run directly from Visual Studio, or by using the dotnet test command line tool.
Since the tests rely on the native QmlNet library, you have to ensure the library is in the PATH (on Windows) or otherwise discoverable. If you are trying to run tests against the native library built from the same repository, you can put the src/native/output folder into your PATH or LD_LIBRARY_PATH after running the build.bat or build.sh script.
Thanks goes to these wonderful people!
Michael Lamers |
TripleWhy |
Max |
geigertom |
James Davila |
Andy Fillebrown |
Vadim Peretokin |
Linus Juhlin |
No open issues yet, or sync has not completed.