testwheel.py: Adapt to the new examples wheel
The examples directory should now be back and be automatically
detected. Still the PYSIDE_DESIGNER_PLUGINS variable needs to be set.
Move it to a helper function.
Pick-to: master
Change-Id: Ibe525d1b62b689f254488df891ed5b149a182fec
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
| commit | b167839d8390bbabf548d25357552dde836ccfdf |
| parent | ce196e5663b541be9e19e6a6e99b6a7e5f654699 |
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> |
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> |
| commit time | Tue, 21 Nov 2023 18:48:14 +0100 |