26 questions
0
votes
0
answers
87
views
How do I print to application output window when debugging python in Qt Creator IDE?
I'm debugging a python project (pyproject) in Qt Creator using built-in debugger.
Python print() outputs only to Debugger Log window, where it's mixed with a lot of actual debugger output making it ...
1
vote
0
answers
81
views
Why does PyQt6 leave large gap between dock widgets after docking them?
I'm using qtpy (wrapping PyQt6) and have a window with dock widgets like so:
However, when I drag and re-dock a dock widget, for some unknown reason the widget redocks with a huge gap between the ...
0
votes
1
answer
51
views
Signal declaration in a separate class for use with QRunnable worker
I'm defining a Qt signal in a separate class derived from QObject for use in a QRunnable worker. The signal is emitted once by the worker as it completes. When creating two workers, the signal is ...
0
votes
0
answers
218
views
After installation of OPENCV, Spyder fails to run in the latest Anaconda Python
I installed the latest Anaconda Python 2023-09, in Windows 10 as a new and clean installation. It runs Spyder normally.
After installing OPENCV using the command "conda install conda-forge::...
0
votes
0
answers
73
views
Compatibillity problems between PyQt5 and qtpy
File: test_script.py
from PyQt5 import QtWidgets, QtCore, QtGui
pip install qtpy
pyinstaller --onedir test_script.py
cd dist/test_script
test_script.exe
Error:
Traceback (most recent call last):
...
1
vote
1
answer
315
views
Install QScintilla to qtpy
I am using qtpy to write Qt application and I import modules as `
from qtpy import QtWidget
I would like to install QScintilla but installing it using
pip install QScintilla
installs QScintilla ...
3
votes
0
answers
206
views
Why does QtConsole error out when I try to convert it to bundle in pyinstaller?
My qtconsole code is this:
import sys
from qtpy import QtWidgets
from qtconsole.rich_jupyter_widget import RichJupyterWidget
from qtconsole.manager import QtKernelManager
# The ID of an installed ...
0
votes
1
answer
174
views
How to create a list from visible items in QListWidget
I have a qlistwidget in which most items are hidden.
The amount of items shown in the widget are determined
by the users input.
I would like to be able to take the shown items in
the qlistwidget and ...
0
votes
1
answer
430
views
Error installing PyQt5 + qtpy packages in in PyCharm 2020.1: SSL-module not available
After installing Qt (5.14.2) in Win10 I have created a new project in PyCharm 2020.1. From the project settings dialog, I have tried to install the PyQt5 and the qtpy packages. I get the following ...
6
votes
1
answer
4k
views
Qt: How does a dock widget get its initial size?
When a widget is docked, I would like it to change direction and have minimal size relative to how the dock expands.
That is,
left/right dock => top-to-bottom direction with minimum width
top/...
0
votes
0
answers
2k
views
Using virtual keyboard with python3 and Qt5
I'd like to use Qt's virtual keyboard (Qt5.11.1 or newer?) in my python3 (3.6) project on Win10, but I'm stuck.
I have anaconda environment and I'm quite sure the Virtual keyboard is also somewhere in ...
0
votes
1
answer
1k
views
Changing multiple depending comboboxes with Python through pyqt
I am trying to add three depending comboboxes in Qt with python. That means that you can change one combobox which changes the list of items in the secound combobox. There you can select another item ...
0
votes
1
answer
795
views
Building standalone desktop GUI app using wxpython
I have created a python script using Mechanize and BeautifulSoup, to login to a website and hardcoded credentials and url in the script. It worked fine.
My requirement now is to build a standalone ...