my python script failed when script tries to import PySide2 with the CPython function I wrote. It gives the following error:
Error while importing pyside2:
Traceback (most recent call last):...
in fact I want to read my probes that I write to a file every 5 seconds, and then I read this file wherever I need temperatures in my code.
and on the GUI I read this file every 5 seconds to update...
void Thread::lectureSondes()
{
int newTemperature = readTemperature();
if ( newTemperature != oldTemperature )
{
oldTemperature = newTemperature;
emit...
so I succeeded:
class MainWindow: public QWidget
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
Do you have an example? Please .
because I can't! THANKS
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.
unable to import pyside2 "DLL load failed while importing shiboken2 "?
Today 04:42 by eue