Skip to content

Language Bindings

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

    java language bindings qt6 kotlin
    1
    0 Votes
    1 Posts
    25 Views
    No one has replied
  • QtJambi 6.10.1 available

    qt6 java kotlin language bindings
    1
    0 Votes
    1 Posts
    249 Views
    No one has replied
  • shiboken2 binding and preprocessor flags.

    Unsolved
    5
    0 Votes
    5 Posts
    926 Views
    N
    Indeed, it didn't work for PySide2; I had to implement a workaround. The option is present in the shiboken6 documentation, but not in shiboken2. I conclude it is not supported by the latter. Thanks
  • QtJambi 6.10.0 available

    qt6 java language bindings
    1
    0 Votes
    1 Posts
    241 Views
    No one has replied
  • QtJambi 6.9.2 available

    qt6 language bindings java
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • This topic is deleted!

    Solved
    2
    0 Votes
    2 Posts
    53 Views
  • QtJambi 6.9.1 available

    language bindings java kotlin
    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • QtJambi 6.9.0 available

    java qt6 language bindings
    1
    0 Votes
    1 Posts
    564 Views
    No one has replied
  • gdal

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    Glad you found out and thanks for sharing ! How did you end up with two different versions of that library ?
  • Creating C language bindings for Qt - Where do I start?

    Solved c++ to c c language bindings
    10
    0 Votes
    10 Posts
    3k Views
    A
    For anyone interested, I've started a set of such bindings here: https://github.com/seaqt/seaqt-gen - the output can be seen here: https://github.com/seaqt/seaqt - the project is based on miqt (go bindings) with the aim to expose as much functionality as possible to C such that it can be imported into any language that has good FFI / C interop capabilities (such as https://nim-lang.org/), though there is of course nothing preventing the use of these bindings from C natively - the generated code is actually pretty simple to follow / use.
  • Can't set the icon on the Windows build

    Unsolved pyqt6 pyqt pyinstaller icon qt for python
    5
    0 Votes
    5 Posts
    4k Views
    A
    @Luuk00101 did you find a solution for this ? I am kinda stuck on this as well !
  • How do I create real C# bindings for Qt6?

    Unsolved qt 6 csharp dotnet bindings
    4
    0 Votes
    4 Posts
    2k Views
    R
    I'm interested in contributing here if anyone has gotten the ball rolling
  • singleton in python, with qobject

    Solved
    3
    0 Votes
    3 Posts
    6k Views
    P
    @jazzycamel Although your post is almost 7 years old at this point, it still works flawlessly. I created an account just to thank you for this haha :D (PS - For others stumbling upon this, here's a simple implementation for PyQt6) import collections from PyQt6.QtCore import QObject class Singleton(type(QObject)): def __init__(cls, name, bases, dict): super().__init__(name, bases, dict) cls.instance = None def __call__(cls, *args, **kw): if cls.instance is None: cls.instance = super().__call__(*args, **kw) return cls.instance class WindowManager(QObject, metaclass=Singleton): def __init__(self, parent=None, **kwargs) -> None: # Always call the parent class's __init__ first super().__init__(parent, **kwargs) # Window configuration self.window_width = 550 # Fixed width for equation windows self.window_height = 250 # Fixed height for equation windows self.window_margin = 20 # Margin from screen edge self.vertical_gap = 20 # Gap between windows # Calculate max windows that fit on screen self.max_windows = 3 # Use deque with dynamic maxlen to auto-remove old windows self.active_windows = collections.deque(maxlen=self.max_windows) self.window_positions = [] # Track positions of windows window_manager = WindowManager()
  • QCanDbcFileParse load error

    Solved
    19
    0 Votes
    19 Posts
    5k Views
    D
    Issue created: https://bugreports.qt.io/browse/PYSIDE-3017
  • QtJambi 6.8.2 available

    java qt6 kotlin language bindings
    1
    0 Votes
    1 Posts
    691 Views
    No one has replied
  • Qrcode-Qtzint vba code

    Unsolved
    3
    0 Votes
    3 Posts
    1k 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
  • When I include <Python.h> I get this error in object.h line 190 how do I fix this?

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    InTheBeningingI
    This might help.
  • QtJambi 6.8.1 available

    qt6 java language bindings kotlin
    1
    0 Votes
    1 Posts
    620 Views
    No one has replied
  • PyQt6 program randomly crashing without any error, falling into despair

    Unsolved
    12
    0 Votes
    12 Posts
    6k Views
    T
    @jsulm It's an empty line: [image: 74b4ffb8-5e30-418f-acfa-1b80f1c79421.png]