Questions tagged [shiboken2]
18 questions
7
votes
2 answers
How can we activate a virtualenv inside Qt Creator
Is there a way to activate a Python virtual environment inside Qt Creator, i.e. ensure that all the different commands that Qt Creator is issuing to prepare/analyse/build the current project are run inside a specific virtualenv?
This problem arises…

porcupine
- 121
- 2
- 3
1
vote
1 answer
How to generate an abi3 weel with shiboken6?
I was able to generate cpX-cpX-manylinux_2_24 wheels using PySide2/6, shiboken2/6, scikit-build and repairwheel (https://github.com/aymara/lima-python/) but I'm not able to find where to ask to build abi3 compatible binaries.
I read in "The Python/C…

Kleag
- 642
- 7
- 14
1
vote
0 answers
Pyside6/Shiboken and ABCMeta Bug
This is specific to the new Pyside6 package. Pyside2 does not have this issue.
When attempting to create an abstract class combining JSON and QObject classes Shiboken throws:
c:\python\python39\lib\abc.py in __new__(mcls, name, bases, namespace,…

Fitz
- 11
- 2
1
vote
0 answers
How does PyCharm manage the PYTHONPATH when using Anaconda? Unable to find PySide2-related DLLs
I am extremely confused as to how PyCharm manages the path. I have failed to setup PySide2 both using conda and pip.
When installed with conda I get that the shiboken2 DLL is missing. After a downgrade of PySide2 to a previous minor version it…

rbaleksandar
- 8,713
- 7
- 76
- 161
1
vote
1 answer
Could not identify shiboken version (5.15.2)
I try use combination from shiboken + C++ + Qt on Windows as my colleagues and it is not working
Console: x86 from MVS with administrator, QT 5.15.2 , CMAKE 3.19.8
Python from MVS installer 3.7 (use paths: PYTHONHOME C:\Program Files…

Стас
- 11
- 1
1
vote
0 answers
unable to import shiboken2
I'm trying to embedding PySide2 into a C++ program. The main program links with the Python lib and use PyRun_SimpleFile to execute a Python script file, which are about some Qt PySide2 stuff. It works fine when the main program is built in release…

yc333
- 11
- 2
1
vote
1 answer
Maya Python - "You need a shiboken-based type" Error
Many Python based tools in Maya are now returning an error that is new to me.
"You need a shiboken-based type. #"
Very fresh to Python, so I don't really know what the issue is.
After looking around a bit a figured out it's maybe a conflict of…

Falxo
- 13
- 5
1
vote
0 answers
How to properly wrap a c++ library which uses qt with shiboken2?
I have seen the FAQ https://wiki.qt.io/Qt_for_Python#Frequently_Asked_Questions which states
Take into account that if you want to generate bindings for a Qt/C++
project, the linking to the Qt shared libraries will be missing, and
you will…

wiede
- 11
- 1
0
votes
0 answers
shiboken2 pyside2 import/export macros
I am getting into a problem with the import/export macro called macros.h so I have many includes all in different folders with their own cmakelist in which there are GenerateExportHeader written like this :
string(TOUPPER ${PROJECT_NAME}…

Dejan Rojko
- 1
- 2
0
votes
2 answers
pyqtgraph requires Qt version >= 5.12
I'am trying to plot in real time EEG data but I face some issues due to the use of pyqtgraph.
I've already try to upgrade pyside2 and shiboken2, to uninstall and install again, but it always end up the same way..
from pyqtgraph.Qt import QtGui,…

user19343282
- 1
- 2
0
votes
1 answer
PySide2 will not import when built with cx_freeze 6.6
I have a program that is being built with cx_freeze 6.2.
It was working great until we added a GUI and then we started getting ImportErrors after it build the EXE.
...
File "C:\Users\Engineer\anaconda3\lib\site-packages\PySide2\__init__.py", line…

The Iron Duckling
- 61
- 1
- 5
0
votes
0 answers
How to delete custom defined widget classes in pyside2
I am migrating a project from python27 to python37 so that I could switch from using PyQt to PySide. When refactoring my code, I am now unable to delete instances of my custom class that inherits from the QTreeWidgetItem
class…

Remus Wong
- 27
- 4
0
votes
1 answer
import Qt ui to Maya2020
Last week I started learning Python for Maya, following the 'CGCircuit - Learn Python Inside Maya'.
Now I'm trying to make a simple UI for Maya2020 using Qt. The tutorial itself is pretty outdated, a lot has changed since Maya2015.
I checked a lot…

Flying Nimbus
- 69
- 1
- 8
0
votes
1 answer
shiboken2 & PySide2 issues
I get this error when trying to run a PyQt5 Application, I keep getting it and I think it's when I use pyuic5 to export code from QT Designer and then try to run it.
from .shiboken2 import *
ImportError: DLL load failed: The specified procedure…

xSavgs
- 32
- 1
- 4
0
votes
0 answers
Installing PySide/ShiBoken on Ubuntu 20.04
I've been trying to get PySide (more specifically, shiboken, PySide's dependancy) installed in a venv on Ubuntu 20.04 (Focal). However, CMake seems to be having trouble finding Qt.
...
-- Found unsuitable Qt version "5.12.8" from /usr/bin/qmake
…

Rotartsi
- 527
- 5
- 19