pytest-dev / pytest-qt

pytest plugin for Qt (PyQt5/PyQt6 and PySide2/PySide6) application testing
https://pytest-qt.readthedocs.io
MIT License
409 stars 70 forks source link

Clean up remaining Qt 4 compat code #337

Closed The-Compiler closed 3 years ago

The-Compiler commented 3 years ago

I found various code snippets which don't seem to be needed anymore since Qt 4 is dropped.

The-Compiler commented 3 years ago

I'm working on a fix for the Qt 6 test issues. Yep, I agree this can be cleaned up further, missed that with a search/replace :sweat_smile:

I even wonder if we can drop make_variant as well, as typically with PyQt5 you don't need to create a QVariant explicitly. I'll take a look.