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

Does py2exe support 'QtWebEngineWidgets' of PySide6? #202

Open
Rida-Shamasneh opened this issue Feb 24, 2024 · 0 comments
Open

Does py2exe support 'QtWebEngineWidgets' of PySide6? #202

Rida-Shamasneh opened this issue Feb 24, 2024 · 0 comments

Comments

@Rida-Shamasneh
Copy link

Rida-Shamasneh commented Feb 24, 2024

import sys
from PySide6 import QtCore, QtWidgets, QtWebEngineWidgets
from PySide6.QtQuick import QQuickWindow, QSGRendererInterface

QQuickWindow.setGraphicsApi(QSGRendererInterface.GraphicsApi.OpenGL)

app = QtWidgets.QApplication()
q = QtWebEngineWidgets.QWebEngineView()
q.load(QtCore.QUrl('https://www.google.com/'))
q.show()

sys.exit(app.exec())

I can provide more details if py2exe does support this.
But I see now the following issue:
ImportError: (could not import module 'PySide6.QtWebEngineCore')

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