Solved No screens available - Embedded Linux - Qt Software Stack for Intel NUC
-
Hi all,
I am using the Qt software stack for device creation - in my case for intel NUC. Everything worked fine until I tried to deploy my application on the device. I get the error:
XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Cannot create window: no windows availableHas anyone an idea?
Thank you.
-
The solution is setting the environment variable QT_GPA_PLATFORM = linuxfb:fb=/dev/fb0.
-
@beckseba What graphics stack do you have running on your device? X11? Framebufer? ...?
-
@jsulm I have used the pre-built image provided by Qt, so I cannot say which graphic stack is running. Sorry, I am not very experienced with embedded linux.
-
@beckseba Qt for device creation is commercial as far as I know, so you can ask Qt Company for support.
-
@jsulm Thank you, I will ask Qt and let the community know what the solution is.
-
The solution is setting the environment variable QT_GPA_PLATFORM = linuxfb:fb=/dev/fb0.