[PySide] Qt for Python release: 6.6.3 is out!
Hello everyone, the issues of the 6.6.3 release with Quick Controls and Multimedia plugins (Windows) have been fixed in a new 6.6.3.1 release available now. Kindly excuse the trouble given. Regards Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
[PySide] Qt for Python release: 6.6.3 is out!
Hello everyone, unfortunately, due to some some change in the Qt libraries, 6.6.3 has issues with Quick Controls and Multimedia plugins (Windows). We will release a 6.6.3.1 version with a fix. Regards Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
[PySide] Qt for Python release: 6.6.3 is out!
Hello everyone, we are happy to tell you that 6.6.3 is now available As usual, you can get it with a: pip install pyside6 or update your current installation via pip install pyside6 -U The changes can be found here https://code.qt.io/cgit/pyside/pyside-setup.git/tree/doc/changelogs/changes-6.6.3 In case you find an issue, let's know! https://bugreports.qt.io/projects/PYSIDE Keep an eye in our platforms, and join any of them https://wiki.qt.io/Qt_for_Python#Community Regards Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] [shiboken6] allow-thread needed for Constructor ?
Hi, You can see that allow-thread is for example specified for the QMutexLocker constructor added for https://bugreports.qt.io/browse/PYSIDE-1271 at sources/pyside6/PySide6/QtCore/typesystem_core_common.xml:2397 and it is actually generated into the code. So, the GIL is held when calling a constructor from Python and it can be released. Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] Problem promoting a custom widget in QtDesigner
Hi, this means QUiLoader cannot find/load the C++ plugin with the Python custom widget. You don't want this machinery in your application though; please use pyside6-uic as described in "Option A: Generating a Python class" https://doc.qt.io/qtforpython-6/tutorials/basictutorial/uifiles.html . Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] PySide2 without OpenGL support
Hi, in that case, you have to build PySide2 yourself against a Qt version that has only OpenGLES: https://doc.qt.io/qtforpython-5/gettingstarted.html Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] Compile error with method taking a reference to an value-type
Hi, I am not sure under what circumstances this is generated, but B's constructor should take A by const ref (if at all, given that A is part of a class hierarchy and not a value type, so, slicing may occur, etc etc.). Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] shiboken6 6.5.1.1 includes , which is not C++-17 compliant
Hi, found it, it should be fixed by https://codereview.qt-project.org/c/pyside/pyside-setup/+/492503 . Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] shiboken6 6.5.1.1 includes , which is not C++-17 compliant
Hi, where do you see this - should be dependent on switching the language level to C++20? Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] Internal C++ object (PySide2.QtWidgets.QListWidget) already deleted
Hi, could you maybe post a complete, minimal example? Maybe QGraphicsSceneEvent.source() needs some ownership modification in the binding. Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] Wish to help out with PySide - WebAssembly / Pyodide compatibility (#PYSIDE-962)
Hi Alex, thank you for your mail. Contributions and ideas for WebAssembly are always welcome. For us, PySide for WebAssembly is currently on the backburner since we do not see a way of building the support libraries. The task basically boils down to: - Building shiboken_generator on the host - Building the support libraries (libshiboken/libpyside/libpysideqml) against CPython - Building the Python modules (shibokenmodule, Qt modules) If one day CPython provides a way of building modules and Qt and CPython settle on one EMSDK version, it all could be done using the normal cross-building support for PySide which exists for embedded platforms (PYSIDE-802). Pyodide is an option for building Python modules; it might be possible to get a Qt module to build by creating a setup.py (see https://codereview.qt-project.org/c/pyside/pyside-setup/+/443740 ). We changed the shiboken_generator to have it generate the defines of the Qt configure system into the code so that the generated code can be used for different configuration options of Qt (some classes are missing in WebAssembly). This would require Qt and Pyodide to use compatible EMSDKs. Pyodide cannot seem to build the support libraries though, and also does not provide a build environment for use; it merely unpacks it temporarily when building modules. A mix of Pyodide and CPython is also conceivable, but then all three would have to settle on an un-patched EMSDK version. Ideas how to progress with this would be appreciated. Regards, Friedemann Some links: Qt Contribution guidelines: contribute.qt-project.org/guidelines Qt for WASM https://doc.qt.io/qt-6/wasm.html -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] QMdiSubWindow.normalGeometry broken?
Hi, QMdiSubwindow is a child widget; it acts according to documentation: https://doc.qt.io/qt-6/qwidget.html#normalGeometry-prop Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] My first Shiboken6-based bindings: module import error
Hi, > What am I doing wrong here ? It is not necessary to set PYTHONPATH; the recommended way of doing this is to create a venv and build PySide into it (see https://doc.qt.io/qtforpython/gettingstarted.html / platform guides). PySide apps should then work without setting paths. Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] setLayout and setCentralWidget when using true_property
Hi, > Is this intended behaviour or an oversight? If intended, why should setting a layout/widget be different to setting text or setting a widget to be enabled? Only properties which are visible in Qt Designer (and are declared as such by using the Q_PROPERTY macro in the C++ class, see https://doc.qt.io/qt-6/qmainwindow.html ) are exposed as Python properties. There are other setters/getters following this naming convention like setCentralWidget(), but they are not really properties in the sense of designable, orthogonal widget properties. This is ATM not really visible in the QfP documentation, which can be improved. Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside
Re: [PySide] QMediaPlayer cannot play mp3 audio files
Hi, please also check the Qt for Python player example https://doc.qt.io/qtforpython-6/examples/example_multimedia__player.html . It is able to play MP3 fine here on Windows 10 using the shipped windowsmediaplugin.dll plugin. Regards, Friedemann -- Friedemann Kleint The Qt Company GmbH ___ PySide mailing list PySide@qt-project.org https://lists.qt-project.org/listinfo/pyside