Closed hakonhagland closed 1 year ago
Add more info in the documentation about how to get the qApp pointer
@nicoddemus Sorry, I did not check the sphinx output. I think there is something wrong with the backticks:
I will try to fix it.
The
QApplication
object is accessible through theQApplication.instance()
method
I also discovered that you can use the qapp_cls
fixture
to get the object. Maybe we should also mention this alternative in the documentation?
qapp_cls
gives you the class (it's intended to be overridden by your own code to customize what to use). qapp
will give you the QApplication instance.
qapp will give you the QApplication instance.
@The-Compiler Thanks for the information! I have updated PR #506 such that the docs mentions this qapp
fixture instead of QApplication.instance()
@nicoddemus Sorry, I did not check the sphinx output. I think there is something wrong with the backticks:
No worries, I missed that as well. Thanks for the follow up!
Add more info in the documentation about how to get the qApp pointer when using the qtbot fixture, see issue #504 for more information.