GithubHelp home page GithubHelp logo

Comments (7)

ddobrev avatar ddobrev commented on May 23, 2024

Hello @grbd . I am going to have some time in a week or so and I will then check how Qt5Designer works.

from qtsharp.

Hecatron avatar Hecatron commented on May 23, 2024

Thanks for the reply, I had a quick go with Qt5Designer but ran into a couple of problems
if cppsharp works with static libs then QtUiTools might be a lot easier to figure out since it has a simpler implementation. under windows it's visible under C:\Qt\Qt5.5.0\5.5\mingw492_32\lib\libQt5UiTools.a, it's just a shame there's no dll equivilent

from qtsharp.

ddobrev avatar ddobrev commented on May 23, 2024

In case there's no DLL, it cannot work unless somebody gets the code of QtUiTools and compiles it to a DLL. C# can only p/invoke DLL-s.

from qtsharp.

ddobrev avatar ddobrev commented on May 23, 2024

@grbd I believe the missing Qt5UiTools DLL is a bug in their installer so I filed it at https://bugreports.qt.io/browse/QTBUG-48383 .

from qtsharp.

Hecatron avatar Hecatron commented on May 23, 2024

I think I saw another bug report mentioning the same thing, it should be interesting to see what happens.
I think the expectation might be to use QtDesigner instead of Qt5UiTools if a dll is needed for whatever reasons, since both routes can handle processing a.ui file, Qt5UiTools seems to be a more stripped down version just including what's needed for runtime.

The QT examples seem to work okay with Qt5UiTools so they must be linking against the static lib in order to work. Given there's only a single class and a small set of functions in that module I'm tempted to just manually code it using a manually grafted qmake .pro file / cpp inlines file that links against the static lib as a one off. The other option is to get QtDesigner working, but I don't know as much about how to do that part.

from qtsharp.

ddobrev avatar ddobrev commented on May 23, 2024

QtDesigner is now wrapped.

from qtsharp.

Hecatron avatar Hecatron commented on May 23, 2024

Thanks very much for this
I may have gotten Qt5UiTools to work at the same time (I've got everything to compile and build, but just need to test that it actually works)
If it works, I'll put in a pull request

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.