You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, When I try to import QtCore.QRegularExpression from Qt, I get an error.
Importing directly from PySide6 works.
Example in Python3.11 with PySide6 and Qt.py:
Python 3.11.9 (main, Oct 30 2024, 17:54:48) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
from Qt.QtCore import QRegularExpression
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'QRegularExpression' from 'Qt.QtCore' (unknown location)
from PySide6.QtCore import QRegularExpression
print(QRegularExpression)
<class 'PySide6.QtCore.QRegularExpression'>
The text was updated successfully, but these errors were encountered:
Hi, When I try to import QtCore.QRegularExpression from Qt, I get an error.
Importing directly from PySide6 works.
Example in Python3.11 with PySide6 and Qt.py:
Python 3.11.9 (main, Oct 30 2024, 17:54:48) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
The text was updated successfully, but these errors were encountered: