Results 1 to 2 of 2

Thread: Qt 5 on Ubuntu 12.04 with no 3D acceleration

  1. #1
    Join Date
    Mar 2010
    Posts
    319
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1
    Thanked 14 Times in 12 Posts

    Default Qt 5 on Ubuntu 12.04 with no 3D acceleration

    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.

  2. #2
    Join Date
    Mar 2010
    Posts
    319
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1
    Thanked 14 Times in 12 Posts

    Default Re: Qt 5 on Ubuntu 12.04 with no 3D acceleration

    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...

Similar Threads

  1. Qt on Ubuntu 10.04 from Ubuntu packages?
    By teele in forum Installation and Deployment
    Replies: 5
    Last Post: 28th March 2012, 09:41
  2. Ubuntu 10.04 and Qt 4.62
    By fulin in forum Newbie
    Replies: 2
    Last Post: 25th May 2010, 17:42
  3. How to on Ubuntu?
    By prchakal in forum Qt Programming
    Replies: 3
    Last Post: 10th March 2010, 07:11
  4. Qt in Ubuntu
    By impeteperry in forum General Programming
    Replies: 4
    Last Post: 30th November 2008, 02:16
  5. Windows change hardware acceleration setting
    By jakamph in forum Qt Programming
    Replies: 1
    Last Post: 15th November 2006, 08:10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.