Hi,
I'm trying to figure out how to implement a test for PyQt5's QWebEngine on OSX.
The following test setup generates both a 'standard' executable and a .app but
the test framework runs the standard exe, which doesn't work.
@importorskip('PyQt5')
def test_PyQt5_QWebEngine(pyi_builder):
pyi_builder.test_source(
"""
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWebEngineWidgets import QWebEngineView
from PyQt5.QtCore import QUrl
app = QApplication( [] )
view = QWebEngineView()
view.load( QUrl( "http://www.pyinstaller.org" ) )
view.show()
view.page().loadFinished.connect(lambda ok: app.quit())
app.exec_()
""", pyi_args=['--windowed', '--osx-bundle-identifier',
'org.qt-project.Qt.QtWebEngineCore'])
The .app runs if I double click it in Finder or execute it from the command
line.
How do I tell the test framework to run the .app instead of the the standard
exe?
Glenn
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.