PDA

View Full Version : Qt 5 on Ubuntu 12.04 with no 3D acceleration



agarny
11th January 2013, 10:12
Hi,

I have just converted my project to Qt 5 and I am able to build it on Ubuntu 12.04, but... I can't run it! My Ubuntu 12.04 machine is in fact a virtual machine (under VirtualBox), and I can't enable 3D acceleration on it (either an issue with VirtualBox or my host machine (OS X 10.8.2)). Whatever the case, if I try to run my project, I get the following message:


Failed to load platform plugin "xcb". Available platforms are:

Aborted (core dumped)

So... what am I missing? I initially thought it was an issue with my lack of 3D acceleration, but it can't be since I can run Qt Creator on my Ubuntu 12.04 virtual machine...

Cheers, Alan.

agarny
11th January 2013, 13:15
FWIW, my application should work fine on my Ubuntu 12.04 VM, even without any 3D acceleration. As I mentioned in my original message, Qt Creator works fine and so does a Qt example which I have just built in my VM. So, there has to be something funny with the way I build my application...