We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code is from QT source code, but i count't use the function qt_blurImage from the PyQt5.QWidgets.
qt_blurImage
QT_BEGIN_NAMESPACE extern Q_WIDGETS_EXPORT void qt_blurImage(QPainter *p, &blurImage, qreal radius, bool quality, bool alphaOnly, int transposed = 0); QT_END_NAMESPACE
I wanna ask how to use that? I had tried load the function from the QWidgets dll, but it occurred some problems by using the ctype. The python code:
import ctypes dll = ctypes.CDLL('QWidgets.dll');
The Error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\xxx\lib\ctypes\__init__.py", line 374, in __init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 193] %1 不是有效的 Win32 应用程序。
Are there some any other ways? Please help me solve it.
any other ways
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following code is from QT source code, but i count't use the function
qt_blurImage
from the PyQt5.QWidgets.I wanna ask how to use that? I had tried load the function from the QWidgets dll, but it occurred some problems by using the ctype.
The python code:
The Error:
Are there some
any other ways
? Please help me solve it.The text was updated successfully, but these errors were encountered: