qt-creator issues
run: docker run --rm -ti -v /tmp/.X11-unix:/tmp/.X11-unix zachdeibert/qt-creator 192.168.1.108:0 fluber
get the following error: chown: cannot access '/home/fluber/*': No such file or directory libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast Unrecognized OpenGL version Unrecognized OpenGL version
can give some hints to solve this issue.
What platform and what version of X are running on 192.168.1.108?
I use the OS X.
chown: cannot access '/home/fluber/': No such file or directory // this i solve the modify the launch.sh remove the "/home/$2/" .
chown "$2:$2" "/home/$2" "/home/$2/*" is sometimes needed because occasionally I will get a file owned by root in there and it won't like it. However, the exit status of that command is ignored, so it shouldn't be contributing to the crash.
Are you using XQuartz as your X11 server?
Yes, I use XQuartz .
https://fredrikaverpil.github.io/2016/07/31/docker-for-mac-and-gui-applications/
after sudo apt-get install nvidia-304-dev
solve this problem.
Did you run that command inside the container or outside it?
I install it in the container.
I'll see if I can add it to the Dockerfile without breaking it on machines without an Nvidia graphics card.
Yes, My hardware is OS X 10.10.5 iMac.
But has another little problem is when QtCreator Run, Will pop a dialog about plugin "Unable to create OpenGL context". I did not find solution now.
Okay. I'll look into that also.
After installing Nvidia drivers I also got errors about "Unable to create OpenGL context". I fix this by adding --device /dev/nvidia0 --device /dev/nvidiactl to docker run command, e.g.
$ docker run --device /dev/nvidia0 --device /dev/nvidiactl -v /tmp:/tmp zachdeibert/qt-creator $DISPLAY $USER
Hi, @zachdeibert ,
Thanks for your work!
When I run docker run zachdeibert/qt-creator $DISPLAY $USER I see the messages like
chown: cannot access '/home/myaccount/*': No such file or directory
QXcbConnection: Could not connect to display :0
Aborted (core dumped)
What possible solution is for that without editing launch.sh on my side?
@al9ol Try docker run -v /tmp:/tmp zachdeibert/qt-creator $DISPLAY $USER
Hi @zachdeibert , thanx for your work! I have problems with qt-creator,
ubuntu@ubuntu:~$ docker run -v /tmp:/tmp zachdeibert/qt-creator $DISPLAY $USER
chown: cannot access '/home/ubuntu/*': No such file or directory
LLVM ERROR: Cannot select: intrinsic %llvm.x86.sse41.pblendvb
Segmentation fault (core dumped)
/home/ubuntu/.config/QtProject/qtcreator exists in my host system because i have installed qt-creator. So is there any way to use my local settings if exists?
Hi @zachdeibert thanks for this masterpiece. How does one update the qt version?