[Interest] -platform -minimal does not render text

Jason H jhihn at gmx.com
Tue Feb 17 21:33:58 CET 2015


Because I'm on a headless server. 
I only need Qt on the server to generate PDFs. I don't really care what plugin I use, but there is no X server there, so I get that XLib connection error.

If there is a better plugin I'll use it, someone just suggested minimal, which worked for lines and stuff, just not text.



> Sent: Tuesday, February 17, 2015 at 12:28 PM
> From: "Thiago Macieira" <thiago.macieira at intel.com>
> To: interest at qt-project.org
> Subject: Re: [Interest] -platform -minimal does not render text
>
> On Tuesday 17 February 2015 18:06:29 Jason H wrote:
> > Or more importantly, it is rendering characters as black boxes.
> > 
> > To back up, I have a headless server (AWS AMI). It generates PDFs using
> > QPdfWriter.
> > 
> > When on my desktop (Mint 17.1) I can render reports just fine without
> > "-platform minimal". Then to test the server command line on my desktop I
> > add "-platform minimal" on the command line and that's where I have a
> > problem. Anything non-text is fine, but text is rendered as uniform solid
> > black squares.
> > 
> > Thoughts? Do I need to install font? How do I troubleshoot this?
> 
> Hi Jason
> 
> Why are you using the minimal platform in the first place? It's meant for 
> learning how to make a new platform, not for actually using it in a system. 
> Are you writing a new platform? If so, please use the dev mailing list for the 
> discussion. If not, what is the use you had that led you to minimal?
> 
> If you want to continue using minimal, you'll have to fix the problem yourself 
> and submit the patch.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 



More information about the Interest mailing list