GithubHelp home page GithubHelp logo

Qml / QtQuick about qtsharp HOT 11 OPEN

ddobrev avatar ddobrev commented on May 27, 2024
Qml / QtQuick

from qtsharp.

Comments (11)

ddobrev avatar ddobrev commented on May 27, 2024

QtQuick is definitely on my list but since I am forced to work on Qt# in-between because of paid jobs, there will be a while until it's complete. The time-consuming part there is the integration between the host language (C#) and QML, there has to be a way of defining properties and events (signals) in C# so that they are invoked as needed in QML and vice-versa.
About QtNetwork, I know about this bug. I have actually already filed it at mono/CppSharp#569, you are welcome to track its progress or even send a patch.

from qtsharp.

ddobrev avatar ddobrev commented on May 27, 2024

QtNetwork works now and is added to my new release: https://github.com/ddobrev/QtSharp/releases/tag/0.0.4 .

from qtsharp.

ddobrev avatar ddobrev commented on May 27, 2024

QtQml has been added: https://github.com/ddobrev/QtSharp/releases/tag/0.0.5 .
Thank you for testing, please continue with it.

from qtsharp.

Hecatron avatar Hecatron commented on May 27, 2024

Thanks for adding QtQml support that's awesome

from qtsharp.

dsoronda avatar dsoronda commented on May 27, 2024

Is there any reason why this issue is not closed ?

from qtsharp.

ddobrev avatar ddobrev commented on May 27, 2024

@dsoronda because there's no support for QML yet.

from qtsharp.

dsoronda avatar dsoronda commented on May 27, 2024

well, how about this example ?

from qtsharp.

Hecatron avatar Hecatron commented on May 27, 2024

Some of the stuff within QT uses templates such as

display->findChild<QPushButton *>("bar");
display->findChildren<QWidget *>();

In order for that to work in C# you need to translate it across to generics in C# (same thing but by a different name). But that's not quite in CppSharp yet which is what QtSharp relies on.

so if you happen to use some code that doesn't involve generics / templates then it might work, but you won't be able to use any of the Qt API's that do use generics / templates which may limit what you can do

from qtsharp.

pauldotknopf avatar pauldotknopf commented on May 27, 2024

If you need Qml integration, I am working on a project that does exactly this. I'd consider it usable for production.

https://github.com/pauldotknopf/net-core-qml

from qtsharp.

ddobrev avatar ddobrev commented on May 27, 2024

@pauldotknopf thank you, I'll definitely have it in mind. I can see you've written your own bridge instead of using CppSharp which makes me a little sad but I still think we could collaborate.

from qtsharp.

pauldotknopf avatar pauldotknopf commented on May 27, 2024

Yeah, I'm open to a collaboration.

Unfortunately, CppSharp wouldn't work for the QML stuff, since there has to be a native component to work closely with the qml-private headers.

from qtsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.