pyqt6 Questions

3

I find bindings/QtDesigner directory, but there are all .sip file. In the package website on pypi, it says The sip-install tool will also install the bindings from the sdist package but will allow...
Homogamy asked 22/2, 2021 at 3:34

7

Solved

I am trying to port over a script of mine from PyQt5 to PyQt6. I have figured out how to port most of the things thanks to this answer, however, I have run into an issue. I have figured out that Py...
Fluoridate asked 15/1, 2021 at 11:25

2

Solved

I'm trying to migrate a codebase from PyQt5 to PyQt6. I read in this article (see https://www.pythonguis.com/faq/pyqt5-vs-pyqt6/) that all enum members must be named using their fully qualified nam...
Blither asked 2/5, 2022 at 12:21

4

I want to create my small GUI app with PyQt6. I've installed PyQt6, but I also have to install PyQt6-tools. So, when I tried to get it, I got this error: C:\Users\egorl>pip install pyqt6-tools C...
Gauvin asked 7/11, 2021 at 5:48

1

In QML for Qt5 I could use ColorOverlay to apply a color to an image. But in Qt6, it no longer exists. What is the best way to color an image in QML for Qt6?
Linus asked 22/1, 2022 at 1:8

3

I have Anaconda with Python 3. I would like to install PyQt6. Through the Anaconda prompt and in the desired environment I tried: pip install PyQt6 However, when I try: from PyQt6.QtWidgets import...
Verdugo asked 11/4, 2021 at 20:53

1

Solved

I was trying to create a simple video player using PyQt6. I found this example on the internet: import sys from PyQt6.QtWidgets import QApplication, QMainWindow, QVBoxLayout, QWidget, QPushButton, ...
Biles asked 6/4, 2023 at 6:31

2

Solved

In PyQt5, we can validate an event occurrence using QEvent class, for example QEvent.MouseButtonPress. In PyQt6 the statement is no longer valid. I have checked the members of both PyQt6.QtCore.QEv...
Preconcert asked 17/2, 2021 at 4:12

1

Solved

I'm trying to draw an image with a transparent background over the entire screen. I've done similar with Xlib, but I thought I'd try Qt so my program might work in different environments besides X1...
Dissuade asked 13/8, 2022 at 23:0

2

I try to run this code, but it always get this AttributeError, I have searched for many website but there wasn't any answer. QtWidgets.QDesktopWidget().availableGeometry().center() AttributeError: ...
Madonia asked 18/6, 2021 at 15:38

2

from PyQt6.QtWidgets import * from model.Department import Department from view.main_window import Ui_Form from model.Department import Department, Employee class Homewidget(QWidget,Ui_Form): d...
Neuburger asked 24/11, 2021 at 16:47

1

Solved

While trying to migrate pyqt5 code to pyqt6, i have occured a problem with setWindowFlags: self.setWindowFlags(Qt.WindowStaysOnTopHint) returns an error: AttributeError: type object 'Qt' has ...
Anagnorisis asked 20/11, 2021 at 11:10

1

Solved

I need to translate the following code from PyQt5 (It works there) to PyQt6: self.setWindowFlags(Qt.FramelessWindowHint) This is the error: AttributeError: type object 'Qt' has no attribute ...
Crete asked 28/10, 2021 at 1:45

1

Solved

I'm trying to port a code from PyQt5 to PyQt6, but the following error occur: AttributeError: type object 'QImage' has no attribute 'Format_RGB888' It happens with any Format_*, although in ...
Northeastwards asked 14/10, 2021 at 14:4

2

Solved

I'm just migrating my application from PyQt5 to PyQt6. I understand that the Qt module has been removed in Qt6. I have stuff like 'Qt.AlignCenter', 'Qt.ToolButtonTextUnderIcon', 'Qt.LeftToolBarArea...
Careworn asked 14/1, 2021 at 22:12

2

Solved

I am using Python 3.9.1 and PyQt6. Now I want to create a window with blurred background, which should look something like below: Blurred Window Background Demo It would be helpful if anybody prov...
Skellum asked 28/3, 2021 at 15:20
1

© 2022 - 2024 — McMap. All rights reserved.