Skip to content
New issue

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

Can't load library qtquickcontrols2basicstyleplugin.dll #93

Open
kimvnhung opened this issue May 17, 2024 · 0 comments
Open

Can't load library qtquickcontrols2basicstyleplugin.dll #93

kimvnhung opened this issue May 17, 2024 · 0 comments

Comments

@kimvnhung
Copy link

I'm trying to create a QQuickWidget in Qt C++ , generating python module using shiboken and using it in a python sample.
A testing sample in C++ works perfect without error.
But while I use the generated python module it showed the window with entirely white color on the QQuickWidget.
The log from python here.

qrc:/qml/TimerPlayback.qml:2:1: Cannot load library D:\Codes\qt_common_widget_library\env\Lib\site-packages\PySide6\qml\QtQuick\Controls\Basic\qtquickcontrols2basicstyleplugin.dll: The specified module could not be found.
import QtQuick.Controls.Basic 2.15
^
qrc:/qml/TimerPlayback.qml:2:1: Cannot load library D:\Codes\qt_common_widget_library\env\Lib\site-packages\PySide6\qml\QtQuick\Controls\Basic\qtquickcontrols2basicstyleplugin.dll: The specified module could not be found.
import QtQuick.Controls.Basic 2.15
^
qrc:/qml/TimerPlayback.qml:2:1: Cannot load library D:\Codes\qt_common_widget_library\env\Lib\site-packages\PySide6\qml\QtQuick\Controls\Basic\qtquickcontrols2basicstyleplugin.dll: The specified module could not be found.
import QtQuick.Controls.Basic 2.15

The version infor:
Qt C++ MSVC 6.6.3
PySide6, shiboken6, shiboken6_generator 6.6.3
Python 3.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant