Skip to content

test: use offscreen QPA for QCoroQuick tests#140

Merged
danvratil merged 1 commit intomainfrom
tests/set-offscren-qpa-for-qcoroquick
Nov 24, 2022
Merged

test: use offscreen QPA for QCoroQuick tests#140
danvratil merged 1 commit intomainfrom
tests/set-offscren-qpa-for-qcoroquick

Conversation

@danvratil
Copy link
Collaborator

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.

@danvratil danvratil force-pushed the tests/set-offscren-qpa-for-qcoroquick branch from e8ac468 to 533370c Compare November 24, 2022 12:33
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.
@danvratil danvratil force-pushed the tests/set-offscren-qpa-for-qcoroquick branch from 533370c to 2d1794f Compare November 24, 2022 13:07
@danvratil danvratil merged commit 7e39df2 into main Nov 24, 2022
@danvratil danvratil deleted the tests/set-offscren-qpa-for-qcoroquick branch November 24, 2022 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant