danvratil / qcoro

C++ Coroutines for Qt
https://qcoro.dvratil.cz
MIT License
331 stars 53 forks source link

test: use offscreen QPA for QCoroQuick tests #140

Closed danvratil closed 1 year ago

danvratil commented 1 year ago

QCoroQuick requires QGuiApplication, but we usually don't have a running X session on the CI, which makes the test fail. By using the offscreen QPA, we make Qt happy without having to fiddle with Xvfb or something like that.

Fixes test failure reported in #139.