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. Run Qt Widget program on remote VPS with minimal Xorg installed
Forum Updated to NodeBB v4.3 + New Features

Run Qt Widget program on remote VPS with minimal Xorg installed

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 552 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.
  • F Offline
    F Offline
    folibis
    wrote on last edited by
    #1

    I want to run on my VPS simple Qt program which uses QWidget so it's visual (not console) program. So I Installed XOrg packages and also Fluxbox to have some minimalistic VM. To have abiliti to connect to my server I installed x11vnc. Up to this point everything works without problem. I started X with startx and as I see it implicitly starts Fluxbox. I can connect to the server with VNC client also without problem. But when I run test Qt program I get lots of errors:
    @
    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::save: Painter not active
    ...
    @

    So what I do wrong and how can I run my Qt program?

    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