Skip to content

Language Bindings

You're using Qt with other languages than C++, eh? Post here!
865 Topics 3.4k Posts
  • Question about QPlayList

    Moved Unsolved python
    4
    0 Votes
    4 Posts
    2k Views
    understatementOfTheYearU
    Just an update to the working state of this code. Yes it does loop as it should in both mac and windows, however, when it loops on the mac, the video scales up for some bizarre reason. I have no clue what would make it do that. Any thoughts?
  • Video playback on dynamically populated list of video widgets

    2
    0 Votes
    2 Posts
    698 Views
    SGaistS
    Hi, You should show the code you are using as well as the backtrace of the crash otherwise it's pretty much Crystal Ball debugging.
  • Creating a Video Widget with PyQt5

    Moved Unsolved
    2
    0 Votes
    2 Posts
    3k Views
    _antipattern__
    QWidget's documentation claims that the QWidget::paintEngine implementation may not always return a valid pointer, which is what I think causes your problem. One solution might be to override it and provide your own QPaintDevice. On StackOverflow I found a workaround based on QtQuick instead of QtWidget, using a QQuickPaintedItem that you can use inside your QtQuick scenegraph.
  • QWebView and CSS animations

    Unsolved python
    2
    0 Votes
    2 Posts
    992 Views
    _antipattern__
    Hi, it looks like QtWebKit was superceded by QtWebEngine. Clicking together a quick sample shows the animations working for me without any more work required: import QtQuick 2.0 import QtQuick.Window 2.0 import QtWebEngine 1.0 Window { width: 1024 height: 768 WebEngineView { anchors.fill: parent url: "http://mapshakers.com/projects/leaflet-pulse-icon/" } } Best
  • Assigning to PyQt5 QQmlListProperty gives type error

    Moved
    1
    0 Votes
    1 Posts
    523 Views
    No one has replied
  • Multi Process in a Widget

    Unsolved
    12
    0 Votes
    12 Posts
    5k Views
    mrjjM
    @LeeDaShen In which way, login ? The browser dont have any login . Do you mean the user?
  • 0 Votes
    1 Posts
    760 Views
    No one has replied
  • QTJambi: QAbstractItemModel.SetData is not called

    Moved Solved
    2
    0 Votes
    2 Posts
    1k Views
    P
    Dummy me...the setData signature was wrong...it has to be: public final boolean setData(QModelIndex index, Object value, int role)
  • QProcess event queue

    Moved Unsolved python pyqt4
    10
    0 Votes
    10 Posts
    5k Views
    B
    @SGaist said in QProcess event queue: Hi, Unless you put that in a loop, readLine will only read one line each time. One thing you can do is split the content of trace_output on the carriage return and parse each element after that. Sry didn't get notified about your reply. I have managed to solve this using subprocess module on a different thread. Would like to see it working with QProcess too though. Did you find any bug on my code?
  • Is PySide2 stable enough?

    Moved Solved pyside python
    2
    0 Votes
    2 Posts
    1k Views
    tekojoT
    Hi @Exotic_Devel The best place to follow on PySide2 seems to be https://wiki.qt.io/PySide2 It has links to all the relevant locations for more info. Seems like it still requires manual work to build (and Qt 5.6?). But looking at the speed of development it is close to being a good option.
  • Python 3.5 + QT designer+ PyQT4

    Unsolved
    1
    0 Votes
    1 Posts
    798 Views
    No one has replied
  • C++ to QML signal issue

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    p3c0P
    @Hoyt You already have that signal in your IntValue class. So in case you are trying to access this signal from other C++ class you have the instantiated object here: IntValue rotationAngle; engine.rootContext()->setContextProperty("rotationAngle", &rotationAngle); Use this object and connect to its SIGNAL intValueChanged.
  • PyQt5 -- loading serialized videos for playback

    Unsolved
    11
    0 Votes
    11 Posts
    3k Views
    SGaistS
    AFAIK, there's no support for "in-memory files" like that. Remember that QtMultimedia uses the platform's multimedia framework which don't handle Qt types. If you take for example the handling of Qt's resource system when dealing with multimedia files, a temporary file is created so that the multimedia framework can access it. If you want something lower level to avoid the temporary file, you'll have to implement it yourself.
  • PyQt4.x Python 2.7 + QGraphicview with custom widget, move position with mouse

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    SGaistS
    Hi, This stackoverflow answer might give you some clues.
  • Public Functions qt++ to qml

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    N
    @Dante-Leoncini said in Public Functions qt++ to qml: but now comes another error: undefined reference to `vtable for MyFunctionsProvider' Hi, you need to run qmake.
  • python scripts executable windows

    Unsolved
    12
    0 Votes
    12 Posts
    4k Views
    SGaistS
    Well, after a longer search: pyqtdeploy looks very promising for that task. And then you can follow the standard Qt deployment procedure.
  • slot of QClipboard::dataChanged() was called twice

    Unsolved
    1
    0 Votes
    1 Posts
    700 Views
    No one has replied
  • Which license to use for PySide2 wheels stored in Bintray?

    Unsolved
    9
    1 Votes
    9 Posts
    3k Views
    Fredrik AverpilF
    Ok thanks, I'm not sure which of those I should be using ... but I guess I'll just keep the GPLv2.1 license for now then. https://bintray.com/fredrikaverpil/pyside2-wheels/pyside2 Cheers!
  • PyQt5 and Qt Designer -- Video Player question

    Solved
    4
    0 Votes
    4 Posts
    4k Views
    SGaistS
    You're welcome ! If that answers your question then please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)
  • How to submit issue/bug to PySide project?

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    Fredrik AverpilF
    @tekojo Thanks, it worked fine when selecting "Bug" :)