QtCreator can not load plugins UBuntu 16.04



  • Downloaded and installed the Open Source version of Qt for Linux. When I launch "qtcreator" I get the following message:

    QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
    QApplication: invalid style override passed, ignoring it.
    QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled

    Followed by a "Qt Creator - Plugin loader messages" dialog box saying that the QmlDesigner and QmlProfiler plugins can not be loaded.

    I am running Xubuntu 16.04 in VMWare (Fusion). All the packages mentioned in the Wiki are installed.

    hwinfo --gfxcard shows the following

    acurtis@allen-Xubuntu64:~/Desktop$ hwinfo --gfxcard
    46: PCI 0f.0: 0300 VGA compatible controller (VGA)
    [Created at pci.366]
    Unique ID: _+Pw.jBKePf3JQB5
    SysFS ID: /devices/pci0000:00/0000:00:0f.0
    SysFS BusID: 0000:00:0f.0
    Hardware Class: graphics card
    Model: "VMware VMWARE0405"
    Vendor: pci 0x15ad "VMware, Inc."
    Device: pci 0x0405 "VMWARE0405"
    SubVendor: pci 0x15ad "VMware, Inc."
    SubDevice: pci 0x0405
    Driver: "vmwgfx"
    Driver Modules: "drm"
    I/O Ports: 0x1070-0x107f (rw)
    Memory Range: 0xe8000000-0xefffffff (ro,non-prefetchable)
    Memory Range: 0xfe000000-0xfe7fffff (rw,non-prefetchable)
    Memory Range: 0xc0000000-0xc0007fff (ro,non-prefetchable,disabled)
    IRQ: 16 (682 events)
    I/O Ports: 0x3c0-0x3df (rw)
    Module Alias: "pci:v000015ADd00000405sv000015ADsd00000405bc03sc00i00"
    Driver Info #0:
    XFree86 v4 Server Module: vmware
    Config Status: cfg=new, avail=yes, need=no, active=unknown

    Is there an issue with 16.04? I recently upgraded from 14.04 and everything seems to work fine there.

    Thanks



  • After looking at the output of "ldd qtcreator" a little more closely, I discovered that some nvidia libraries were being used instead of the standard openGL libraries. After uninstalling all the nvidia libraries, qtcreator now runs.

    However I still get this message:

    QApplication: invalid style override passed, ignoring it.

    I tried deleting ~/.config/QtProject as suggested but it did not fix the problem.


  • Moderators

    @ajcurtis said in QtCreator can not load plugins UBuntu 16.04:

    QApplication: invalid style override passed, ignoring it.

    But it is running now? If so then just ignore that warning.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.