Skip to content

Language Bindings

You're using Qt with other languages than C++, eh? Post here!
858 Topics 3.4k Posts
  • How to make work PySide6 binding examples work?

    Unsolved
    1
    0 Votes
    1 Posts
    257 Views
    No one has replied
  • How to bind qt to python? (boost.python).

    Solved
    3
    0 Votes
    3 Posts
    387 Views
    M

    @JonB thanks for your reply.
    I found a similar topic on stackoverflow.
    That helped to solve my problem.

  • QtJambi 6.6.2 available

    1
    0 Votes
    1 Posts
    272 Views
    No one has replied
  • 0 Votes
    2 Posts
    306 Views
    JonBJ

    @Sachin-Bhatt
    The intention is that Qt SQL interfaces handle most if not all of SQL data types, and deal with SQLite correctly, so that you don't have to do what you say. I think you should give a couple of examples of data types where you have "data type compatibility concerns" and how it goes "wrong".

  • 0 Votes
    2 Posts
    2k Views
    _

    @tristam I know this is 10 years later, but have you figured out this issue?

  • pyside6 yocto

    Unsolved
    1
    0 Votes
    1 Posts
    318 Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    N

    @jhayar Could you please describe your solution to the "Can't toast on a thread that has not called Looper.prepare()"?

  • QtJambi 6.6.1 available

    1
    1 Votes
    1 Posts
    259 Views
    No one has replied
  • Translating between NL and EN

    Unsolved
    4
    0 Votes
    4 Posts
    585 Views
    kkoehneK

    @RayKn said in Translating between NL and EN:

    What do I do at initialization? Do I install the dutch translator even though the program is already set at dutch (also in QT Creator Designer the language is set to dutch).
    I really feel like I am missing something.

    The Qt translation system at runtime doesn't know anything about specific langauges. It just checks the installed QTranslators one by one whether they provide a translation for the source string / context combo, falling back to the original source string if nothing is found.

    If you don't need a nl translation because all the source strings are already in correct language , then you can as well remove the .nl file. Then all you have to do to switch from English to Dutch is to remove the translation file by calling QCoreApplication::removeTranslator() with the QTranslator object as argument.

    Sometimes it's useful though to keep a (partial) translation, for instance to be able to fix typos, or to handle plural forms correctly. In this case, you might want to have a partial .ts file for NL (-pluralsonly argument).

    That said, if it's true that the nl file is contains a correct translation, then your setup should actually work (even if slightly inorthodox). I suggest at least checking the return value of your installTranslator calls...

    Kai

  • QtJambi 6.6.0 available

    1
    0 Votes
    1 Posts
    271 Views
    No one has replied
  • QtJambi 6.5.3 available

    1
    0 Votes
    1 Posts
    284 Views
    No one has replied
  • QtJambi 6.5.2 available

    1
    1 Votes
    1 Posts
    305 Views
    No one has replied
  • Integration of QML and C++

    Unsolved
    2
    0 Votes
    2 Posts
    433 Views
    JKSHJ

    Hi, and welcome!

    @joeren said in Integration of QML and C++:

    The application that will publish the interface onto the module is called G2Link and will only push QML files.

    This sounds like a non-standard setup. I had a quick look at their website, but I can't see how to program their device using C++ at all.

    Your best bet is to contact tech support at Reach Tech.

  • What are Qt widget components doing in the background?

    Unsolved
    12
    0 Votes
    12 Posts
    950 Views
    SGaistS

    At the beginning of times, creating a GUI, be it on Windows or Linux, was something that wasn't easy to learn nor do and was not reusable at all. Qt was created to make the life of developers way easier as well as provide a framework that allows you to write your code once and then build it on a per platform basis. If you want another example, try to show an OpenGL window using native APIs vs doing with Qt.

    Qt is:

    simplicity elegance cross platform
  • Qt remote

    Solved
    3
    0 Votes
    3 Posts
    408 Views
    P

    I figured it out.
    Qt Remote Objects

  • QtJambi 6.5.1 available

    1
    0 Votes
    1 Posts
    355 Views
    No one has replied
  • Qt & QML on standard web browser

    12
    0 Votes
    12 Posts
    15k Views
    T

    Something new for this topic:

    QML/HTML Browser based on QT and Chrome.
    Support most of QML features like 2D, 3D, Charts, Multimedia and other stuff.
    https://github.com/Toorion/qml-browser

  • 0 Votes
    1 Posts
    364 Views
    No one has replied
  • QtJambi 6.4.4 available

    1
    1 Votes
    1 Posts
    315 Views
    No one has replied
  • Cross compilation C++ Linux -> Windows with Qt5

    Unsolved
    5
    0 Votes
    5 Posts
    633 Views
    SGaistS

    @Golgotho what is the error left ?