Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Do we need cups for qt/embedded?

Do we need cups for qt/embedded?

Scheduled Pinned Locked Moved Mobile and Embedded
17 Posts 8 Posters 12.1k Views
  • 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
    flowerslab
    wrote on 21 Dec 2010, 05:48 last edited by
    #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

    Regards
    Sathishkumar D
    flowersopenlab.weebly.com

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on 21 Dec 2010, 13:01 last edited by
      #2

      "QPrinter":http://doc.qt.nokia.com/latest/qprinter.html 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 :-)

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vcsala
        wrote on 21 Dec 2010, 13:05 last edited by
        #3

        [quote author="Volker" date="1292936499"]cups are those small containers we drink our coffee of :-) [/quote]

        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

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kamalakshantv
          wrote on 21 Dec 2010, 13:28 last edited by
          #4

          [quote author="Volker" date="1292936499"]

          BTW: It's spelled CUPS (all capital letters) - cups are those small containers we drink our coffee of :-) [/quote]

          Even I wondered what cups the post was referring to. Thought you were referring to something like "this":http://posterous.com/getfile/files.posterous.com/troubalex/Qx9zSl7V8KcGomCP0Y116SNFl6rZX7bWDfEHlR2uOodzzWjUfOu48QcVDHBh/mug.jpg.scaled.1000.jpg

          1 Reply Last reply
          0
          • G Offline
            G Offline
            giesbert
            wrote on 21 Dec 2010, 13:34 last edited by
            #5

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

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

            1 Reply Last reply
            0
            • T Offline
              T Offline
              troubalex
              wrote on 21 Dec 2010, 13:39 last edited by
              #6

              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. ;)

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

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kamalakshantv
                wrote on 21 Dec 2010, 14:08 last edited by
                #7

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

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  giesbert
                  wrote on 21 Dec 2010, 14:12 last edited by
                  #8

                  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 :-)))

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

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    vcsala
                    wrote on 21 Dec 2010, 14:18 last edited by
                    #9

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

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      kamalakshantv
                      wrote on 21 Dec 2010, 14:40 last edited by
                      #10

                      Or come up with something that is not so fragile.

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        giesbert
                        wrote on 21 Dec 2010, 14:53 last edited by
                        #11

                        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 :-))

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

                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          kamalakshantv
                          wrote on 21 Dec 2010, 19:53 last edited by
                          #12

                          [quote author="Gerolf" date="1292943206"]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 :-))[/quote]

                          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.

                          1 Reply Last reply
                          0
                          • I Offline
                            I Offline
                            Immii
                            wrote on 22 Dec 2010, 05:21 last edited by
                            #13

                            [quote author="Volker" date="1292936499"]"QPrinter":http://doc.qt.nokia.com/latest/qprinter.html 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 :-) [/quote]

                            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

                            1 Reply Last reply
                            0
                            • F Offline
                              F Offline
                              flowerslab
                              wrote on 22 Dec 2010, 05:57 last edited by
                              #14

                              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

                              Regards
                              Sathishkumar D
                              flowersopenlab.weebly.com

                              1 Reply Last reply
                              0
                              • G Offline
                                G Offline
                                goetz
                                wrote on 22 Dec 2010, 11:07 last edited by
                                #15

                                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.

                                http://www.catb.org/~esr/faqs/smart-questions.html

                                1 Reply Last reply
                                0
                                • D Offline
                                  D Offline
                                  DenisKormalev
                                  wrote on 22 Dec 2010, 11:57 last edited by
                                  #16

                                  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.

                                  1 Reply Last reply
                                  0
                                  • F Offline
                                    F Offline
                                    flowerslab
                                    wrote on 22 Dec 2010, 12:47 last edited by
                                    #17

                                    Thanks all. Good to know QPrinter uses lpr which can get via Busybox.

                                    Regards
                                    Sathishkumar D
                                    flowersopenlab.weebly.com

                                    1 Reply Last reply
                                    0

                                    1/17

                                    21 Dec 2010, 05:48

                                    • Login

                                    • Login or register to search.
                                    1 out of 17
                                    • First post
                                      1/17
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups
                                    • Search
                                    • Get Qt Extensions
                                    • Unsolved