Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LCD panel prototyping development under X11 using qvfb
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
egberts
Guru
Guru


Joined: 04 Nov 2003
Posts: 357
Location: Dimmed Cathode Ray Tube

PostPosted: Sun Jul 24, 2005 11:04 pm    Post subject: LCD panel prototyping development under X11 using qvfb Reply with quote

Let's say you have a special B/W LCD panel sized (300x400) that you want for your industrial widget panel and you want to develop Qt window programming within this window size constraint.

Qt/X11 is obviously too big (1280x1024 or 640x480).

Why not use X11 window scheme to create a new virtual framebuffer in which you can do your development within the comfort of your existing X11 login session. No more logging out into console and using SVGA. To do this, we use TrollTech's qvfb. It isn't available by default but it is included with x11-libs/qt-embedded-3.3.4. See https://forums.gentoo.org/viewtopic-t-363019.html on how to build qvfb.

Run qvfb with a desired viewscreen size:
Code:
# $QTDIR/bin/qvfb -width 300 -height 400 -depth 1

Then run your application
Code:
# <your-app-name> -qws

Enjoy!
_________________
Clusters of Fry's Special, AMD 2200, 2 GB DDR, 220 GB (2008.1/desktop, stage 1, -O3) x8
HP Compaq Fry's SPecial, AMD 2100, 2 GB DDR, 260 GB (2008.0/server, stage 1, -O3)
Ultra Sparc 5, 256MB, 3GB (2006.1/server, stage 1, -O3)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum