[Qt-interest] How to layout off-line.

anders.bakken at nokia.com anders.bakken at nokia.com
Wed Sep 9 01:18:23 CEST 2009


You can use qlayoutitems without an X11 connection so you could come  
up with an abstraction whereby you can have your widgets become non  
widgets that can layout and render themselves through a define or  
something. Note that I am not sure fonts will work without an X11  
connection.

--

Anders

On Sep 8, 2009, at 7:25 AM, "ext william.crocker at analog.com" <william.crocker at analog.com 
 > wrote:

> Gang:
>
> My application displays a complex scene of custom
> widgets. These scenes are conveniently arranged
> using the Qt Layout system and classes.
>
> I need to support printing of these presentations
> when the application runs in non-GUI mode,
> perhaps from the command line.
>
> So, the question is, how do I layout the scene
> for off-line printing if the Qt layout system assumes
> inheritance from QWidget which requires an X11
> (GUI) connection?
>
> Thanks in advance.
>
> Bill
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list