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. [QT5 beta 2]Installing it on ubuntu 12.04 running with kvm as a virtual machine
QtWS25 Last Chance

[QT5 beta 2]Installing it on ubuntu 12.04 running with kvm as a virtual machine

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.2k Views
  • 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.
  • C Offline
    C Offline
    cedrix
    wrote on last edited by
    #1

    Hello,

    I wanted to try Qt5 beta 2. So I created a new virtual machine running unduer ubuntu 12.04. I am using KVM. I installed Qt. Then when I tried to launch QtCreator (or other qt programs) I got that kind of error:
    @cedric@cedric-virtual-machine:~/Qt5.0.0beta2/5.0.0-beta2/gcc/bin$ ./assistant
    QWidget::paintEngine: Should no longer be called
    QPainter::begin: Paint device returned engine == 0, type: 1
    QWidget::paintEngine: Should no longer be called
    QPainter::begin: Paint device returned engine == 0, type: 1
    QPainter::font: Painter not active
    QPainter::pen: Painter not active
    QPainter::setPen: Painter not active
    QPainter::setPen: Painter not active
    QPainter::setFont: Painter not active
    ...
    QPainter::setClipRect: Painter not active
    QPainter::translate: Painter not active
    QPainter::translate: Painter not active
    QPainter::setClipRect: Painter not active
    QPainter::setCompositionMode: Painter not active
    QPainter::setCompositionMode: Painter not active
    QPainter::pen: Painter not active
    QPainter::setPen: Painter not active
    Erreur de segmentation (core dumped)
    cedric@cedric-virtual-machine:~/Qt5.0.0beta2/5.0.0-beta2/gcc/bin$@

    I tried a
    qmake --version
    And this works.
    So I think there is an issue with QPainter. Maybe a dependence is missing? I installed opengl for instance (package freeglut) but it didn't fixed the issue.

    With Ubuntu 11.10 I got the same issue. However under a virtual machine on windows 7 it seems to work.

    Any idea of how I could solve thie issue?

    Thank you,

    Sincerly

    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