Every QT-app on Ubuntu is not rendering and throwing an excessive amount of “Painter not active” warning



  • The title kind of says it all. I'm running Ubuntu 14.04 Server and started with a fresh install to which I only added a desktop interface and NVIDIA's CUDA toolkit and driver (without overwriting the opengl libs).

    What happens is the following:

    I open an application that relies on QT for its interface (this includes QT creator, ironically).
    A window opens but the whole window is filled with what was displayed at that time of popping up behind the window.
    I hover my mouse over where the icons are supposed to be which induces a ton of warnings in the following format:

    [8171] Warning: QPainter::deviceTransform: Painter not active
    [8171] Warning: QPainter::worldTransform: Painter not active
    [8171] Warning: QPainter::pen: Painter not active
    [8171] Warning: QPainter::setPen: Painter not active
    [8171] Warning: QPainter::setPen: Painter not active
    [8614] Warning: QWidget::paintEngine: Should no longer be called
    [8614] Warning: QPainter::begin: Paint device returned engine == 0, type: 1
    [8614] Warning: QPainter::deviceTransform: Painter not active
    [8614] Warning: QPainter::worldTransform: Painter not active
    

    Nothing else happens. But when the window is dragged something along the lines of

    SIGSEV in qDrawBorderPixmap
    

    might crash the app.

    I'm sure there is something wrong with a qt system package rather than the individual applications, which is usually the case with this error. I'm not sure where to start the repair process, ANY idea is welcome.


  • Qt Champions 2016

    Hi
    Could it be the display drivers or the x server / framebuffer that it dont like?
    Have you tried something like glxgears to see if all runs as expected.


Log in to reply
 

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