Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problems about running Qt-Gui app in docker container
sickplayer last edited by
docker run -it -u 0 --net=host -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix \ -v /dev/dri/card0:/dev/dri/card0 myimageto run my program, its image was not good enough though it could display some infomation's messagebox.
Got keys from plugin meta data ("xcb_glx") loaded library "/home/sgx/sgxmtc/xcbglintegrations/libqxcb-glx-integration.so" libGL error: failed to open /dev/dri/card0: Operation not permitted libGL error: failed to load driver: vmwgfx
How do i do if i want to run the program in the docker container like it is running in my local desktop and display normally?