Skip to content

Language Bindings

You're using Qt with other languages than C++, eh? Post here!
860 Topics 3.4k Posts
  • QtJambi 6.8.2 available

    1
    0 Votes
    1 Posts
    27 Views
    No one has replied
  • QCanDbcFileParse load error

    Unsolved
    9
    0 Votes
    9 Posts
    165 Views
    SGaistS

    @JonB said in QCanDbcFileParse load error:

    @SGaist said in QCanDbcFileParse load error:

    @dhagrow, @JonB has a point with regard to UTF-8.

    Except that error "no such file or directory" does not sound like that, does sound like it's not finding the file. Or a strange message.

    Indeed, I was just adding more weight with regard to using parseData which was related to my original question about it although it was mainly because I misread the code sample.

  • Qrcode-Qtzint vba code

    Unsolved
    2
    0 Votes
    2 Posts
    66 Views
    jsulmJ

    @Alexespo This is Qt forum. Why are you asking about Visual Basic here?

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    11 Views
    No one has replied
  • 0 Votes
    5 Posts
    804 Views
    InTheBeningingI

    This might help.

  • QtJambi 6.8.1 available

    1
    0 Votes
    1 Posts
    143 Views
    No one has replied
  • 0 Votes
    4 Posts
    359 Views
    jsulmJ

    @Luuk00101 said in Can't set the icon on the Windows build:

    Do you think the path resolves to an invalid one on when we run it on Windows?

    This is the first thing I would check.

    Resource files: https://doc.qt.io/qtforpython-6/overviews/resources.html

  • 0 Votes
    9 Posts
    393 Views
    JonBJ

    @SimonSchroeder said in Creating C language bindings for Qt - Where do I start?:

    using just a plain void* instead of introducing a C struct

    @Platinum-Lucario should read and be aware of the discussion we had recently in QGraphicsTextItem * and void * conversion error and the conclusion at https://forum.qt.io/post/815140. The gist is that where Qt uses C++ multiple inheritance you lose information and go wrong if you are not careful about what you pass as a C void *.

  • How do I create real C# bindings for Qt6?

    Unsolved
    3
    0 Votes
    3 Posts
    497 Views
    P

    @JonB said in How do I create real C# bindings for Qt6?:

    If you want to do it for Qt6, and if QtSharp has suitable free use licensing, would that not be a good place to start rather than from scratch?

    I'll definitely give it a go! From what I can see, it's under the Apache License 2.0, so it's possible.

  • 0 Votes
    12 Posts
    934 Views
    T

    @jsulm It's an empty line:
    Screenshot 2024-11-12 130412.png

  • 0 Votes
    2 Posts
    173 Views
    SGaistS

    Hi,

    While it's a pretty goal to show why it's wrong to update widgets from a different thread, you might have issue reproducing this at will. This is in the zone of undefined behaviour and depends highly on the OS beside what you are modifying and it might just work for a while, do something funky or crash the application.
    Also, there might also be the architecture of Python itself that could be at play since it's currently not a true multithreaded language if you take the GIL into account.

  • My Qt Creator 14 shows abnormal characters!

    Solved
    6
    0 Votes
    6 Posts
    403 Views
    M

    @Reds how did you establish which font was the problem, because I have the same issue. Thanks.

  • QtJambi 6.8.0 available

    1
    2 Votes
    1 Posts
    141 Views
    No one has replied
  • ReferenceError: require is not defined .js

    Unsolved
    4
    0 Votes
    4 Posts
    3k Views
    artwawA

    6 years later

    you ok, dude?

  • use shiboken fro a C++ class to create bindings for python

    Unsolved
    1
    1 Votes
    1 Posts
    123 Views
    No one has replied
  • QtJambi 6.7.2 available

    1
    0 Votes
    1 Posts
    194 Views
    No one has replied
  • QtJambi 6.7.1 available

    1
    0 Votes
    1 Posts
    156 Views
    No one has replied
  • How to use "import std" in C++

    Unsolved
    7
    0 Votes
    7 Posts
    3k Views
    S

    In the post linked by @cristian-adam there is the following comment:

    No, import std; has not yet been implemented. The plan is for the compiler to populate a CMake::CXX23 target with the requisite information and have that target provide import std; modules. There are discussions about how compilers/standard libraries should provide information for CMake to use and make such targets.

    I assume that the problem is that CMake does not know how to look up modules that are not provided by your own project. Because it cannot find the proper dependencies it will not build.

    I'm eagerly waiting for modules to work properly everywhere. This will be a huge boost for C++.

  • Is it possible to provide C API?

    Solved
    2
    0 Votes
    2 Posts
    272 Views
    JonBJ

    @3119369616
    No. And if you were looking for anything "official" that would be The Qt Company, be aware that here we are a user forum. Also Qt is not a programming language, it's a set of code written in C++.

  • 0 Votes
    3 Posts
    250 Views
    G

    @sierdzio Thank you very much for your quick answer!!! I have done this change and it works!!!
    Thanks!!!!!
    Have a good day,