Skip to content

Language Bindings

You're using Qt with other languages than C++, eh? Post here!
865 Topics 3.4k Posts
  • QStackedWidget as 'window management' for embedded eglfs device?

    Solved
    17
    0 Votes
    17 Posts
    6k Views
    J
    Done, thanks as always @SGaist!
  • Embedding python in Qt

    Moved Unsolved
    2
    0 Votes
    2 Posts
    899 Views
    sierdzioS
    Yes, it is described in Python documentation: link
  • 0 Votes
    1 Posts
    820 Views
    No one has replied
  • QT - Read translator file .ts/.qm on translations.qrc file

    Unsolved
    6
    0 Votes
    6 Posts
    4k Views
    SGaistS
    Hi, What exactly doesn't work ?
  • Blocking functions cause buffer to delay output

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    daegontavenD
    @VRonin Oh yeah that was brought up a few times and I'm aware of it. But the stackoverflow version was not a good mvce. I suppose the GitHub version explains the issue better. The loop actually runs in an environment without access to qt UI or its variables. I'm still writing the buffer so will keep this posted unless I can't figure out the buffer flush myself.
  • Integrating Python with QT

    Moved Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    mrjjM
    @Qt-Enthusiast PyQt example #! /usr/bin/env python # -*- coding: utf-8 -*- # # Here we provide the necessary imports. # The basic GUI widgets are located in QtGui module. import sys from PyQt4.QtGui import QApplication, QWidget # Every PyQt4 application must create an application object. # The application object is located in the QtGui module. a = QApplication(sys.argv) # The QWidget widget is the base class of all user interface objects in PyQt4. # We provide the default constructor for QWidget. The default constructor has no parent. # A widget with no parent is called a window. w = QWidget() w.resize(320, 240) # The resize() method resizes the widget. w.setWindowTitle("Hello, World!") # Here we set the title for our window. w.show() # The show() method displays the widget on the screen. sys.exit(a.exec_()) # Finally, we enter the mainloop of the application.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    10 Views
    No one has replied
  • QPainter not active

    Moved Unsolved pyqt5 python
    4
    0 Votes
    4 Posts
    13k Views
    SGaistS
    A quick google search returns this article which covers most aspects of this subject.
  • 0 Votes
    1 Posts
    642 Views
    No one has replied
  • QtJambi memory leak

    Moved Unsolved qt jambi memory leak java
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, That version of QtJambi is not part of Qt. In fact QtJambi has been deprecated a long time ago and the version you are using is a community edition. You should ask the authors of it directly.
  • Windows parenting not working on Kubuntu

    Moved Unsolved python
    3
    0 Votes
    3 Posts
    1k Views
    GofferG
    Well, there is nothing wrong about sharing preferences. But it's doesn't matter. We are using kubuntu 12.04 and PyQt-4.10.484.4. For now, I do windowB.activateWindow() when my mouse enters windowA but it's a bit limited and I don't really like it.
  • Writing directly to the Frame Buffer with PySide/PyQt

    Unsolved
    9
    0 Votes
    9 Posts
    6k Views
    J
    @SGaist said in Writing directly to the Frame Buffer with PySide/PyQt: PyQt5 is either GPL or Commercial, so if you want to make a closed source application with PyQt5 you have to buy a commercial licence from them. This project is for an embedded device, which I believe carries its own particular considerations. I've not downloaded anything for the time being, as I need to read up on cross compiling of Qt anyway.
  • Can I bind .asm files containing x64 assembly code to my c++ project?

    Solved
    9
    0 Votes
    9 Posts
    7k Views
    kshegunovK
    No it is not. Have you read the documentation carefully? It should look something like: ASM_FILES += asm.s asm_cl.output = ${QMAKE_FILE_OUT} asm_cl.commands = ml /c /Cx /coff /Fo${QMAKE_FILE_OUT} ${QMAKE_FILE_NAME} asm_cl.input = ASM_FILES asm_cl.variable_out = OBJECTS QMAKE_EXTRA_COMPILERS += asm_cl
  • How to switch tab under PyQt5

    Moved Solved python
    5
    0 Votes
    5 Posts
    18k Views
    A
    @SGaist Hello SGaist, thanks a lot for your explanation. It works great!
  • Custom widget not appearing in QListWidget/QListWidgetItem

    Moved Solved python
    3
    0 Votes
    3 Posts
    3k Views
    robbiecooperR
    @SGaist Thanks for the reply! Not sure why, but this line in addNewSourceFolder did it; item.setSizeHint(picwidget.sizeHint())
  • PySide2 contextMenuEvent and mouseMoveEvent clash

    Moved Unsolved python
    4
    0 Votes
    4 Posts
    2k Views
    jsulmJ
    @Goffer Well, without code it is hard to help...
  • How can I create a process in C++ or Qt?

    Unsolved
    9
    0 Votes
    9 Posts
    4k Views
    SGaistS
    Hi, This looks like it could be a job for QtConcurrent::run.
  • What is the current state of Jambi ?

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    H
    Hello, @Chris-Kawa ! Thanks for your link and advice.
  • Multiline support using QTranslate

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    sierdzioS
    Yes it does. How can we translate the string which contains \n during the string translation also. Just include \n in the translated text :-) If it is needed in other language, of course.
  • PyQt5 QMediaPlayer ResourceError with seemingly valid QUrl

    Unsolved
    4
    0 Votes
    4 Posts
    3k Views
    SGaistS
    Did you try with a file from another container/format ?