Ubuntu – Qt Creator not working with VirtualBox 3D Acceleration

3dqt-creatorvirtualbox

I am running vanilla 64-bit Ubuntu 14.04 LTS in latest VirtualBox (5.1.12) under Windows 7. I have VB's latest Guest Additions installed. I have switched VB's Display Enable 3D Acceleration on. I have an NVidia GeForce GTS 450. The output from /usr/lib/nux/unity_support_test -p is all "yes", FWIW.

All seems to be well, until I run Qt Creator (3.0.1). The screen comes up OK, with the window "furniture" borders and the central pane. But then I can interact with the window borders OK, but the main central pane stays fixed on the desktop (e.g. if I "minimize" Qt via the icon in the window border), no menus etc. are shown over it, and the whole thing is unusable.

Is this a VirtualBox, Ubuntu or Qt Creator issue? Does this happen to others of you? Any suggestions (other than switch 3D Acceleration off,which I have done for now, and then it works OK)?

Best Answer

  • disable 3d acceleration from virtualbox settings and boot the system
  • In Qt Creator, go to Help → About Plugins…
  • Uncheck Qt Creator –> Welcome
  • exit Qt Creator, shutdown system and enable 3d acceleration
  • It should work now after reboot

I got the solution from https://dmitryfrank.com/blog/2015/0716_qt_creator_in_virtualbox_with_windows_guest_os

Related Question