QML tests on docker fail
Solved
Installation and Deployment
-
I have been trying to run QML tests on a Docker file and I keep getting:
qt.qpa.xcb: could not connect to display
Which is correct because I don't have a display in Docker. I tried to run
-platform offscreen
but then I get an error saying -Unknown option: '-platform'
.The tests for C++ runs fine.
How should I get over this? Any help would be appreciated.
-
Hi,
One other possible way is to set the QT_QPA_PLATFORM environment variable.