December 21, 2010

Sathishkumar Sathishkumar
Lab Rat
12 posts

Do we need cups for qt/embedded?

Page  
1

Hi all,

I have been developing an application in qt for embedded arm. I have a small doubt. Do we need cups for printing? Does QPrinter can print directly to printer? Though I have been cross-compiling cups, for my device.

Regards
Sathishkumar

 Signature 

Regards
Sathishkumar D
flowersopenlab.weebly.com

16 replies

December 21, 2010

Volker Volker
Ant Farmer
5428 posts

QPrinter [doc.qt.nokia.com] uses the printer drivers built-in your operating system. This is CUPS on X11/Mac. So, yes you should add CUPS to your system.

BTW: It’s spelled CUPS (all capital letters) – cups are those small containers we drink our coffee of :-)

December 21, 2010

VCsala VCsala
Lab Rat
339 posts
Volker wrote:
cups are those small containers we drink our coffee of :-)

Thanks Volker, it was really useful… :D Maybe we can start a wiki article on how to spell important definitions/abbreviations/names (it would be more elegant to write “Please read this wiki article” than write “Please remember it is Qt and not QT (Quicktime)”)

EDIT sorry for my off-topic remark

December 21, 2010

QtK QtK
Lab Rat
1140 posts

Volker wrote:

BTW: It’s spelled CUPS (all capital letters) – cups are those small containers we drink our coffee of :-)

Even I wondered what cups the post was referring to. Thought you were referring to something like this [posterous.com]

December 21, 2010

Gerolf Gerolf
Robot Herder
3287 posts

Hey, where can one get these cups? :-)

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

December 21, 2010

Alexandra Alexandra
Hobby Entomologist
607 posts

Gerolf, they might go into the mail to some people in case I ever figure out how to securely ship them. Otherwise, meet me at an event. ;)

 Signature 

*THE CAKE IS A LIE*
Web Community Manager - Qt Development Frameworks

December 21, 2010

QtK QtK
Lab Rat
1140 posts

I have even seen photos of Qt Ducks (like that of Symbian Foundation).

December 21, 2010

Gerolf Gerolf
Robot Herder
3287 posts

Next dev days? :-)

You could take a bigger cardbox, put some old newspaper around it (so people enjoy reading old news paper, don’t they?) and it should work, I hope :-)

I would put myself as volunteer for a test :-)))

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

December 21, 2010

VCsala VCsala
Lab Rat
339 posts

I also volunteer :) Maybe you can create do-it-yourself version in IKEA style (for better shipping) :)

December 21, 2010

QtK QtK
Lab Rat
1140 posts

Or come up with something that is not so fragile.

December 21, 2010

Gerolf Gerolf
Robot Herder
3287 posts

for packaging? or for sending?
For packaging, we could also use a box made of wood, but it will get heavier and thus more expensive to send :-))

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

December 21, 2010

QtK QtK
Lab Rat
1140 posts
Gerolf wrote:
for packaging? or for sending? For packaging, we could also use a box made of wood, but it will get heavier and thus more expensive to send :-))

For sending. Like Forum Nokia used to send USB Pen Drives, Card readers, T-Shirts, note books, pen, key chains and other such things which can be sent easily without worrying about shipping them safely.

December 22, 2010

Immii Immii
Lab Rat
239 posts

Volker wrote:
QPrinter [doc.qt.nokia.com] uses the printer drivers built-in your operating system. This is CUPS on X11/Mac. So, yes you should add CUPS to your system.

BTW: It’s spelled CUPS (all capital letters) – cups are those small containers we drink our coffee of :-)

I think he is right, when you specify whether you need this while configure you dont do it in capital letters rather we do it like ./configure -no-cups

December 22, 2010

Sathishkumar Sathishkumar
Lab Rat
12 posts

QPrinter [doc.qt.nokia.com] uses the printer drivers built-in your operating system.

— is this implies, we no need CUPS at all, for printing a image with Qt. If this is case, I can just have the platform support packages, busybox, and Qt. Here, I have just about to complete my project with Qt and qwt. I have to print the graph in apps.

thanks
Sathishkumar

 Signature 

Regards
Sathishkumar D
flowersopenlab.weebly.com

December 22, 2010

Volker Volker
Ant Farmer
5428 posts

You need at least one kind of printing system in your environment, may it be CUPS or lpr on a Unix/Linux box. These are the drivers as seen by Qt.

December 22, 2010

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts

Sathishkumar, QPrinter is not included into Symbian, WinCE, Simulator builds. There are tickets for it, but not sure about time when it will be fixed.

Page  
1

  ‹‹ Arabic problem Qt app on Window mobile      What if you emit a FUNCTION (not signals) .... ››

You must log in to post a reply. Not a member yet? Register here!