Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
76 views

I want to remove the space between labels. Range number of labels is 1 to 5 and is used in loop ( text got from db ) I Used varios option but everythoing failed (.setAlignment/.setMargin~~~~) And I ...
ohmygirl's user avatar
1 vote
0 answers
72 views

#include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include <termios.h> int main() { const char *device = "/...
Naveen Krishna Muvva's user avatar
1 vote
0 answers
248 views

I got the warning and no GUI is opened . Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. qt.qpa.plugin: Could not load the Qt platform ...
Naveen Krishna Muvva's user avatar
0 votes
2 answers
1k views

My problem is that I want to have a specific wm_class spawn at a specific X and Y position on my screen every time it opens (Floating window). I read the documentation, but couldn't figure out a way. ...
Eko450's user avatar
  • 1
1 vote
0 answers
141 views

I have a C++ class MyClass that is binded to python using pybind11. Thus MyClass resides in python module named mymodule. That means from python I can do: import mymodule my_class = mymodule.MyClass()...
Kerim's user avatar
  • 221
1 vote
1 answer
337 views

I want to embed the python script in my c++ Qt application, By searching on the net I found that PythonQt is exactly what I am looking for but when I went to it's github repo there is build ...
Vinay Kumar's user avatar
1 vote
0 answers
75 views

I have inherited a project. I can get it to compile but I am running into this runtime error. I have uninstalled all other versions of python on my machine except for the version that came with the ...
Warthou's user avatar
  • 11
0 votes
1 answer
271 views

I'm trying to build QT app with python embedded by PythonQT but stuck at building PythonQT. Here is my environment and what I did: mac os 10.15 python 3.8.5 installed by homebrew python-dev-tools ...
user3153765's user avatar
0 votes
0 answers
110 views

I am using multithreading PythonQT in C++. When using values of the same name in different threads, I want to use different values. Help me plz... [Code : run multithreading] int nRet = ...
speedjwt's user avatar
1 vote
1 answer
176 views

I need some help or/and suggestions here, I'm making a Python program with GUI using pyQT, but I need to output realtime subprocess command into a textbrowser, so that way the user could see if there'...
Klairm's user avatar
  • 31
1 vote
1 answer
725 views

I am trying to install PythonQt for a Qt 5.12 application that I am building on windows. Unfortunately, the documentation is super sparse, and I am not at all familiar with using external libraries ...
Danny's user avatar
  • 525
1 vote
0 answers
81 views

I've got the following code which was working well before I updated utils._DATA twice. Utils._DATA is dictionary. class SystemTrayIcon(QtWidgets.QSystemTrayIcon): def __init__(self, icon, parent=...
Константин Мебиус's user avatar
0 votes
1 answer
214 views

On Ubuntu Bionic, I've built PythonQt and the examples work as they should. How do I compile my own application using the build PythonQt I have? newbie here, so step by step instructions would be ...
Amir's user avatar
  • 83
0 votes
0 answers
331 views

I am trying to understand if it is possible to include a PyQt5 widget inside my Qt-C++ application. There is a lot of information about wrapping C++ class into python and using it from the python ...
Eugene Kolesnikov's user avatar
0 votes
0 answers
480 views

I was looking to implement QRunnable and QThreadPool into my Qt application, where I want to have the GUI continuously listen in the background for microphone input. I have the thread working and it ...
Steve Li's user avatar
-1 votes
1 answer
216 views

In PyQGIS design tablewidget, I have set table widget to be read-only and when I select particular,it is didn't read that row? self.dlg.ui.tableWidget.item(row, 1).setFlags(Qt.NoItemFlags) unable to ...
BalajiSriram S's user avatar
0 votes
1 answer
147 views

in C++ BoolResult is casted to a pointer: bool ok; int i = QInputDialog::getInt(this, tr("QInputDialog::getInteger()"), tr("Percentage:"), 25, 0, 100, 1, &ok); if (ok)...
Bluscream's user avatar
  • 253
0 votes
1 answer
606 views

I am writing a plugin for a Qt desktop app using PythonQT. I wonder how to use << operator in python. QTextStream stream(&file); stream << doc.toString(); Any hints? How may I ask ...
Olaf Japp's user avatar
  • 488
1 vote
1 answer
181 views

I have a c++ class myClass and I'm trying to have a creator based on a numpy array. Here is the wrapper defining the new_ python creator taking PyObject as argument: class myClassPyWrapper : public ...
bibi's user avatar
  • 3,793
0 votes
0 answers
131 views

We are trying to use the matlab engine in our QT C++ application, through a PythonQT console. Normal python commands work from within the pythonQT console in our application, however when we attempt ...
user7745370's user avatar
0 votes
0 answers
87 views

I want to register a event that gets fired every time a new widget or dialog gets created. I don't know if such a signal exists and where to connect it? In the QApplication?
Bluscream's user avatar
  • 253
2 votes
3 answers
6k views

i want to find any object by a objectname string name inside of the QApplication Something like QApplication.instance().findByClassName("codeEditor") which should return a list of widgets with this ...
Bluscream's user avatar
  • 253
7 votes
1 answer
470 views

I am developing a program (TeXamator) in Python to deal with exercises databases in LaTeX. Following this answer I have been able to successfully embed okular into my Qt app. The problem is that I ...
Alexis's user avatar
  • 73
0 votes
0 answers
108 views

I have read this and wanted to comment on one of the answers with another question. So i want to make a label clickable in Teamspeak 3 using my script for pyTson python 07.11.2016 14:16:48 pyTSon....
Bluscream's user avatar
  • 253
0 votes
1 answer
551 views

i'm working with Python 2.7 in the API of a visualization-program. In its 2016-version i created a GUI with PySide and it was working guite good. Now in their new 2017-version they changed from PySide ...
JFT's user avatar
  • 1
1 vote
1 answer
540 views

I'm following the examples at http://pythonqt.sourceforge.net/Examples.html, but PythonQt doesn't print anything on the console. I execute a script that just prints hello, but nothing gets printed. ...
sashoalm's user avatar
  • 80.8k
1 vote
1 answer
4k views

I'm using appimage http://appimage.org to pack my application in a standalone excutable. I'm doint this on debian testing lenny. My application uses a lot of opensource libraries (qt, python ...
bibi's user avatar
  • 3,793
0 votes
1 answer
325 views

I am trying to build PythonQt against anaconda python (2.7.x). Running the included PyGuiExample I am unable to get any Python other than the system install. Running OS X 10.10, Qt 5.5, latest ...
Jzl5325's user avatar
  • 4,004