Use the short (50mm length) STEMMA QT cables to connect the various sensors together.
Use the longer (100mm length) STEMMA QT cable to connect the QT Py ESP32-S3.