Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Every QT-app on Ubuntu is not rendering and throwing an excessive amount of “Painter not active” warning

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 695 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hubabuh
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved