QtSharp | Mono/.NET bindings for Qt
kandi X-RAY | QtSharp Summary
kandi X-RAY | QtSharp Summary
This repository is obsolete. For new code and binary releases please visit Mono/.NET bindings for Qt. This project aims to create Mono/.NET libraries that wrap Qt (thus enabling its usage through C#. It relies on the excellent CppSharp (It is a generator that expects the include and library directories of a Qt set-up and then generates and compiles the wrappers. While still in development, it should work with any Qt version when complete. There is no Qt included in the repository, users have to download and install Qt themselves. For now, Qt MinGW for Windows has been the only tested version. Qt for OS X and Linux are planned, Qt for VC++ has not been planned for now. The source code is separated into a library that contains the settings and passes the generator needs, and a command-line client. In the future a GUI client, constructed with Qt# itself, is planned as well. The are binary releases for Windows and Qt MinGW at They are in an alpha stage. As they get more stable, binaries for other operating systems will be added as well.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of QtSharp
QtSharp Key Features
QtSharp Examples and Code Snippets
Community Discussions
Trending Discussions on QtSharp
QUESTION
I have a simple WPF app
where I have included the QtSharp
(https://github.com/ddobrev/QtSharp) library.
The problem is that my VisualStudio 2017 v15.5.7
is crashing whenever it tries to load the QtSharp
DLLs
for it's intelliSense
. Somebody know how to prevent crashing or ignoring f.e. a System.InvalidCastException
? I have already stoppped ReSharper
to exlude this. The following Screenshot
and StackTrace
is shown when I inject a debugger
.
It's a very strange behavior because on some methods
or overloads
it's working like a charm without any problems and after some minutes or (for example) if using the AddWidget()
method
it crashes.
ANSWER
Answered 2018-Mar-14 at 08:37The problem was because of the wrong Qt version
. I had used 5.10.1 and with 5.9.4 it is working as expected!
QUESTION
I'm using QtSharp
to display a QWidget
in a seperate "window
". Now my problem is, how to update a property
(in my example projector.name
) which is defined in the qml
from code behind.
ANSWER
Answered 2018-Mar-12 at 14:24Seems that it's actually not supported (https://github.com/ddobrev/QtSharp/issues/74) yet:
I am afraid you cannot at present. The interaction with QML is not added yet.
I definitely hope it would be near but I cannot tell. Integration with QML is a must, no second opinion, but I am just afraid I have been really unable to spare any time on the bindings in the last month. I still have some work to finish for templates and I won't start with QML before that. So any help is welcome. For example, it would help me to know how to theoretically do it. I know PyQt does it by manual tinkering with the meta-object system of Qt but I have still not got to the details.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install QtSharp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page